Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001298/0.001298, 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.001465/0.001465, allocations: 215.3 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.92 MB / 358.8 MB, free: 6.254 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.002614/0.002614, allocations: 63.89 kB / 0.4931 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4359, allocations: 65.48 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00302/0.4389, allocations: 1.745 MB / 0.5588 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4408, allocations: 1.053 MB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.4408, allocations: 0 / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.441, allocations: 43.7 kB / 0.5599 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.4413, allocations: 95.55 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.4415, allocations: 79.72 kB / 0.56 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4416, allocations: 103.7 kB / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.4417, allocations: 17.8 kB / 0.5601 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.4418, allocations: 43.73 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.4418, allocations: 35.84 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.4418, allocations: 4 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.4419, allocations: 43.97 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.442, allocations: 19.86 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.442, allocations: 35.75 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.4422, allocations: 119.5 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4422, allocations: 0 / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4422, allocations: 7.938 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4422, allocations: 0 / 0.5604 GB, free: 4.273 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.0004774/0.4427, allocations: 349.6 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.4428, allocations: 8.031 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.4428, allocations: 34.75 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.4428, allocations: 8.891 kB / 0.5608 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4431, allocations: 162.9 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4431, allocations: 384 / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.4431, allocations: 7.938 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.4432, allocations: 57.67 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4433, allocations: 0 / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.4433, allocations: 0 / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.4433, allocations: 0 / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.4433, allocations: 23.98 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.4437, allocations: 255.9 kB / 0.5613 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.4438, allocations: 62.66 kB / 0.5614 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.4439, allocations: 16.86 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4439, allocations: 0 / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.444, allocations: 75.31 kB / 0.5615 GB, free: 3.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.444, allocations: 4 kB / 0.5615 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004466/0.4445, allocations: 177.4 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4445, allocations: 59.28 kB / 0.5617 GB, free: 2.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.4447, allocations: 198.2 kB / 0.5619 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4447, allocations: 29.7 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.4448, allocations: 104.1 kB / 0.562 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4448, allocations: 31.72 kB / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4449, allocations: 21.72 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.445, allocations: 326.8 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.4451, allocations: 19.98 kB / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.4451, allocations: 37.7 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4453, allocations: 61.64 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4453, allocations: 0 / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.4454, allocations: 101.6 kB / 0.5626 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4455, allocations: 4 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.4455, allocations: 4.031 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4455, allocations: 4 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.4455, allocations: 19.92 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.4456, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.4456, allocations: 11.94 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.4456, allocations: 0 / 0.5626 GB, free: 1.836 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.0001199/0.4457, allocations: 128.8 kB / 0.5627 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.4457, allocations: 15.91 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.446, allocations: 115 kB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.446, allocations: 4 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.446, allocations: 0 / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.446, allocations: 3.938 kB / 0.5629 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.4464, allocations: 366.6 kB / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4464, allocations: 0 / 0.5632 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.4465, allocations: 8 kB / 0.5632 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4465, allocations: 7.922 kB / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4465, allocations: 4 kB / 0.5632 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4465, allocations: 8.031 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4465, allocations: 0 / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4467, allocations: 196.3 kB / 0.5634 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.4468, allocations: 11.89 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4468, allocations: 12.25 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.4468, allocations: 7.984 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.4469, allocations: 8 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4469, allocations: 7.984 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.447, allocations: 148.2 kB / 0.5636 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.447, allocations: 0 / 0.5636 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000245/0.4473, allocations: 28.11 kB / 0.5637 GB, free: 0.6836 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.002153/0.4494, allocations: 1.101 MB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4496, allocations: 51.97 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4496, allocations: 4.062 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.4497, allocations: 27.92 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.45, allocations: 25.67 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.452, allocations: 1.658 MB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4523, allocations: 0.7041 MB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.4524, allocations: 12.97 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.4524, allocations: 39.42 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4524, allocations: 0 / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4828, allocations: 3.639 MB / 0.5707 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.58, allocations: 4.75 kB / 0.5707 GB, free: 9.527 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.745608987985179]