Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 51.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002359/0.2517, allocations: 1.035 MB / 432.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.2521, allocations: 131.5 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.2522, allocations: 3.938 kB / 432.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.2523, allocations: 11.88 kB / 432.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2524, allocations: 19.84 kB / 432.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.2526, allocations: 39.91 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2527, allocations: 75.81 kB / 432.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2529, allocations: 27.97 kB / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.2529, allocations: 35.8 kB / 432.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.253, allocations: 27.8 kB / 432.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.253, allocations: 8 kB / 432.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.253, allocations: 4 kB / 432.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.2531, allocations: 23.92 kB / 432.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.2531, allocations: 35.78 kB / 432.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2533, allocations: 93.2 kB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2533, allocations: 0 / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2533, allocations: 4 kB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2533, allocations: 3.938 kB / 432.7 MB, free: 5.109 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004606/0.2538, allocations: 329.8 kB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2538, allocations: 8.031 kB / 433 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.2538, allocations: 46.67 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2539, allocations: 12.89 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2541, allocations: 142.9 kB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2541, allocations: 12.33 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2541, allocations: 4.375 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.2545, allocations: 221.4 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2545, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2545, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2546, allocations: 7.984 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.2546, allocations: 35.92 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2548, allocations: 148.7 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2551, allocations: 123 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2552, allocations: 69.11 kB / 433.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2552, allocations: 7.938 kB / 433.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2552, allocations: 38.44 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.376e-06/0.2552, allocations: 3.984 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003294/0.2556, allocations: 149.5 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.2557, allocations: 71.34 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2558, allocations: 141.4 kB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.2558, allocations: 29.7 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.2559, allocations: 96.45 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.2559, allocations: 7.938 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.256, allocations: 37.66 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2561, allocations: 326.8 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.2562, allocations: 19.98 kB / 434.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2563, allocations: 113.7 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2565, allocations: 149.5 kB / 435 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2565, allocations: 7.938 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002263/0.2567, allocations: 149.3 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2567, allocations: 8 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.2567, allocations: 11.94 kB / 435.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2568, allocations: 4.5 kB / 435.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2569, allocations: 35.98 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2569, allocations: 11.94 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.257, allocations: 7.953 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.257, allocations: 8 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.2571, allocations: 141.6 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.2573, allocations: 124.5 kB / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.2573, allocations: 17.12 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2573, allocations: 0 / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2573, allocations: 0 / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2573, allocations: 4 kB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2575, allocations: 156.7 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2575, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2576, allocations: 23.94 kB / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2576, allocations: 4 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2576, allocations: 3.984 kB / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2576, allocations: 0 / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2576, allocations: 0 / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.2579, allocations: 152.9 kB / 435.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.2579, allocations: 31.83 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.2579, allocations: 4 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.258, allocations: 4 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-06/0.258, allocations: 4 kB / 435.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.258, allocations: 4 kB / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2581, allocations: 111.2 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2581, allocations: 0 / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.2583, allocations: 16 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006949/0.259, allocations: 0.7401 MB / 436.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.2592, allocations: 96.66 kB / 436.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2592, allocations: 0 / 436.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2592, allocations: 0 / 436.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.2597, allocations: 71.92 kB / 436.9 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.2613, allocations: 1.666 MB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2614, allocations: 101.3 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2615, allocations: 12.64 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.2615, allocations: 23.44 kB / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2615, allocations: 0 / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.2923, allocations: 3.097 MB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 3.75 kB / 441.8 MB, free: 11.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.390783866023412]