Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001697/0.001697, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002121/0.002121, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.231/0.231, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] 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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.00218/0.00218, allocations: 67.91 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.362, allocations: 65.46 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003171/0.3651, allocations: 1.753 MB / 0.5588 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.3677, allocations: 1.735 MB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.3678, allocations: 7.875 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.3681, allocations: 35.77 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.3684, allocations: 103.5 kB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3686, allocations: 75.73 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3688, allocations: 111.7 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.3689, allocations: 9.828 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.369, allocations: 55.72 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3691, allocations: 47.77 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3691, allocations: 4 kB / 0.5609 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.3693, allocations: 103.9 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.3694, allocations: 19.92 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.3694, allocations: 39.72 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3697, allocations: 171.4 kB / 0.5612 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3697, allocations: 7.938 kB / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3697, allocations: 0 / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3697, allocations: 0 / 0.5613 GB, free: 3.441 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.0006046/0.3703, allocations: 345.5 kB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3704, allocations: 8.031 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3704, allocations: 34.75 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3705, allocations: 16.83 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3708, allocations: 154.6 kB / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3708, allocations: 8 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3708, allocations: 4 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.371, allocations: 63.39 kB / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.371, allocations: 3.938 kB / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.371, allocations: 7.984 kB / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.371, allocations: 0 / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.371, allocations: 12 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3714, allocations: 279.8 kB / 0.5621 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.3716, allocations: 50.67 kB / 0.5622 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.3717, allocations: 16.86 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3717, allocations: 0 / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.3719, allocations: 79.33 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3719, allocations: 0 / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3724, allocations: 165.5 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.3725, allocations: 88.98 kB / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3727, allocations: 162.1 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3727, allocations: 29.7 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.3728, allocations: 100.1 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.3728, allocations: 27.75 kB / 0.5628 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3729, allocations: 25.7 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.373, allocations: 322.8 kB / 0.5632 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.3731, allocations: 23.94 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.3732, allocations: 42.56 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3733, allocations: 65.62 kB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3733, allocations: 0 / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.3735, allocations: 97.66 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3735, allocations: 8 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3735, allocations: 0 / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3735, allocations: 0 / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.3736, allocations: 19.88 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3736, allocations: 4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.3737, allocations: 7.984 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3737, allocations: 4 kB / 0.5634 GB, free: 0.9883 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.0001071/0.3738, allocations: 121.9 kB / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3738, allocations: 7.953 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3741, allocations: 118.5 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3741, allocations: 3.938 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3741, allocations: 0 / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3741, allocations: 0 / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3746, allocations: 378.3 kB / 0.564 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3746, allocations: 3.938 kB / 0.564 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.3746, allocations: 16.02 kB / 0.564 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3746, allocations: 0 / 0.564 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3746, allocations: 0 / 0.564 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3746, allocations: 4 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3746, allocations: 0 / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3749, allocations: 204.3 kB / 0.5642 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.3749, allocations: 15.89 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.3749, allocations: 8.359 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.375, allocations: 4 kB / 0.5643 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.375, allocations: 7.984 kB / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3751, allocations: 4 kB / 0.5643 GB, free: 20 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3752, allocations: 127.2 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3752, allocations: 0 / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3755, allocations: 47.86 kB / 0.5645 GB, free: 15.85 MB / 414.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.002478/0.378, allocations: 1.185 MB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3782, allocations: 59.98 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3782, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.3782, allocations: 31.91 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3786, allocations: 37.16 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3806, allocations: 1.597 MB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.381, allocations: 0.7001 MB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.3811, allocations: 25.27 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.3812, allocations: 31.42 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3812, allocations: 0 / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.4188, allocations: 4.206 MB / 0.5721 GB, free: 8.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 6.281 kB / 0.5721 GB, free: 8.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.64413592312485]