Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00232/0.00232, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.95 MB / 358.9 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 75.89 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3341, allocations: 65.46 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003254/0.3373, allocations: 1.718 MB / 0.5587 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3391, allocations: 0.9676 MB / 0.5597 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.3391, allocations: 4 kB / 0.5597 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.3394, allocations: 51.75 kB / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3397, allocations: 107.5 kB / 0.5598 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3399, allocations: 79.67 kB / 0.5599 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3401, allocations: 111.7 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.3402, allocations: 5.828 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.3403, allocations: 43.78 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.3403, allocations: 35.78 kB / 0.5601 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3404, allocations: 4 kB / 0.5601 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.3405, allocations: 39.98 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.3405, allocations: 39.83 kB / 0.5602 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.3406, allocations: 27.75 kB / 0.5602 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3408, allocations: 139.4 kB / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3408, allocations: 0 / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3408, allocations: 4 kB / 0.5603 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3408, allocations: 0 / 0.5603 GB, free: 4.168 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005665/0.3414, allocations: 385.2 kB / 0.5607 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3414, allocations: 12.03 kB / 0.5607 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.3415, allocations: 34.75 kB / 0.5607 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3415, allocations: 16.84 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3418, allocations: 163 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3418, allocations: 4.375 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3418, allocations: 11.92 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.342, allocations: 53.67 kB / 0.561 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.342, allocations: 8 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.342, allocations: 0 / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.342, allocations: 0 / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.342, allocations: 23.92 kB / 0.561 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3424, allocations: 264 kB / 0.5613 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3426, allocations: 58.67 kB / 0.5613 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.3427, allocations: 16.86 kB / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3427, allocations: 4 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3428, allocations: 79.3 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/0.3428, allocations: 3.984 kB / 0.5614 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.3434, allocations: 193.2 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3434, allocations: 51.41 kB / 0.5616 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3437, allocations: 295.1 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3438, allocations: 29.7 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.3438, allocations: 124.1 kB / 0.5621 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3439, allocations: 19.86 kB / 0.5621 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3439, allocations: 21.7 kB / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3441, allocations: 330.8 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.3441, allocations: 27.98 kB / 0.5624 GB, free: 1.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.3442, allocations: 34.08 kB / 0.5625 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3443, allocations: 65.7 kB / 0.5625 GB, free: 1.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3443, allocations: 3.938 kB / 0.5625 GB, free: 1.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.3445, allocations: 113.5 kB / 0.5627 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3446, allocations: 11.94 kB / 0.5627 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3446, allocations: 3.984 kB / 0.5627 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3446, allocations: 0 / 0.5627 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.3447, allocations: 16.03 kB / 0.5627 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3447, allocations: 4 kB / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.3447, allocations: 11.88 kB / 0.5627 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3447, allocations: 7.984 kB / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001249/0.3448, allocations: 133.8 kB / 0.5628 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3449, allocations: 15.91 kB / 0.5629 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3451, allocations: 123 kB / 0.563 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3452, allocations: 0 / 0.563 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3452, allocations: 0 / 0.563 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3452, allocations: 7.938 kB / 0.563 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3457, allocations: 386.4 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3457, allocations: 0 / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.3457, allocations: 15.94 kB / 0.5634 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3457, allocations: 3.938 kB / 0.5634 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3457, allocations: 3.984 kB / 0.5634 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3457, allocations: 0 / 0.5634 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3457, allocations: 4 kB / 0.5634 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.346, allocations: 220.4 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.346, allocations: 15.91 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.346, allocations: 11.97 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3461, allocations: 3.984 kB / 0.5636 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.3462, allocations: 8 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3462, allocations: 7.984 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3464, allocations: 216.6 kB / 0.5638 GB, free: 264 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3464, allocations: 0 / 0.5638 GB, free: 264 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3466, allocations: 24 kB / 0.5639 GB, free: 240 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002272/0.3489, allocations: 1.14 MB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3491, allocations: 55.91 kB / 0.565 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3491, allocations: 0 / 0.565 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.3492, allocations: 35.92 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3495, allocations: 43.59 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3517, allocations: 1.88 MB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3518, allocations: 105.1 kB / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.3518, allocations: 12.97 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.3519, allocations: 51.42 kB / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3519, allocations: 0 / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.3883, allocations: 4.52 MB / 0.5715 GB, free: 8.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 19.61 kB / 0.5715 GB, free: 8.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.939967154990882]