Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001724/0.001724, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001435/0.001435, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.66/1.66, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2374/0.2374, allocations: 44.9 MB / 358.8 MB, free: 6.293 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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.002022/0.002022, allocations: 71.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003955/0.3513, allocations: 1.749 MB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3533, allocations: 1.048 MB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.3533, allocations: 0 / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.3537, allocations: 39.77 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.3541, allocations: 99.53 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3543, allocations: 83.61 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3545, allocations: 111.7 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.3546, allocations: 9.828 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3547, allocations: 39.8 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.3548, allocations: 39.78 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3548, allocations: 7.984 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3549, allocations: 39.98 kB / 0.5603 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.355, allocations: 23.86 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.355, allocations: 35.75 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3553, allocations: 123.5 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3553, allocations: 0 / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3553, allocations: 0 / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3553, allocations: 0 / 0.5604 GB, free: 4.297 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.0005829/0.3559, allocations: 365.4 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3559, allocations: 8.031 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.3559, allocations: 34.75 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.356, allocations: 12.89 kB / 0.5608 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3563, allocations: 150.3 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3563, allocations: 4.375 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.3563, allocations: 11.94 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3565, allocations: 53.67 kB / 0.5611 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3565, allocations: 4 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.3565, allocations: 0 / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3565, allocations: 0 / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.3566, allocations: 23.92 kB / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.357, allocations: 267.9 kB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3572, allocations: 50.69 kB / 0.5614 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.3573, allocations: 24.84 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3573, allocations: 0 / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.3575, allocations: 71.33 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3575, allocations: 0 / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.3581, allocations: 177.3 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3581, allocations: 55.41 kB / 0.5617 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3583, allocations: 218.6 kB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3584, allocations: 29.7 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.3584, allocations: 108.1 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3585, allocations: 27.78 kB / 0.5621 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3585, allocations: 21.72 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3587, allocations: 322.8 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.3588, allocations: 23.98 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.3588, allocations: 41.64 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3589, allocations: 61.64 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3589, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.3591, allocations: 105.5 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3591, allocations: 11.94 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3592, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3592, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.3593, allocations: 24.02 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3593, allocations: 0 / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.3593, allocations: 3.938 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3593, allocations: 4.156 kB / 0.5627 GB, free: 1.816 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.0001154/0.3594, allocations: 129.8 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.3595, allocations: 16.27 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3597, allocations: 119 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3597, allocations: 4 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3597, allocations: 4 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3597, allocations: 7.938 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3602, allocations: 362.4 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3602, allocations: 0 / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.3602, allocations: 11.98 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3602, allocations: 3.938 kB / 0.5633 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3602, allocations: 4 kB / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3602, allocations: 0 / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3602, allocations: 0 / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3605, allocations: 208.3 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3605, allocations: 7.953 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3605, allocations: 11.92 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3606, allocations: 4 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3607, allocations: 7.984 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3607, allocations: 4 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3608, allocations: 156.3 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 0 / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3611, allocations: 27.94 kB / 0.5637 GB, free: 0.6562 MB / 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 (8): * Single equations (assignments): 6 * 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.002171/0.3632, allocations: 1.101 MB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3634, allocations: 55.91 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3634, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.3635, allocations: 28.05 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3639, allocations: 32.55 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.3659, allocations: 1.689 MB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3663, allocations: 0.7119 MB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.3664, allocations: 16.58 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3664, allocations: 35.42 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3664, allocations: 3.938 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3972, allocations: 3.694 MB / 0.5709 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.25, allocations: 7.297 kB / 0.5709 GB, free: 9.395 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.747216316005506]