Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001725/0.001725, 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.00215/0.00215, 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.95 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.91 kB / 0.4967 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4368, allocations: 66.03 MB / 0.5612 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003414/0.4402, allocations: 1.745 MB / 0.5629 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.4421, allocations: 1.042 MB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.4421, allocations: 3.938 kB / 0.5639 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.4424, allocations: 43.77 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.4428, allocations: 99.53 kB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.443, allocations: 79.67 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.4432, allocations: 103.7 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4433, allocations: 8 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4434, allocations: 51.7 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.4435, allocations: 31.86 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4435, allocations: 4 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.4436, allocations: 39.98 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.4437, allocations: 23.91 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.4437, allocations: 35.73 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.444, allocations: 121.8 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.444, allocations: 4 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.444, allocations: 0 / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.444, allocations: 0 / 0.5645 GB, free: 0.9727 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.0005857/0.4445, allocations: 333.6 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4446, allocations: 16.02 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.4446, allocations: 20.72 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4449, allocations: 154.3 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4449, allocations: 384 / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.445, allocations: 12.12 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4451, allocations: 61.61 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4451, allocations: 0 / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4451, allocations: 3.984 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4451, allocations: 0 / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.4452, allocations: 23.98 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.4457, allocations: 252 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4459, allocations: 62.61 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.446, allocations: 16.86 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.446, allocations: 0 / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4462, allocations: 67.38 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.4462, allocations: 0 / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006581/0.4468, allocations: 181.3 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4469, allocations: 55.41 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4471, allocations: 179.3 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.4471, allocations: 29.7 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.4472, allocations: 104.1 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4473, allocations: 23.84 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.4473, allocations: 25.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.4475, allocations: 322.8 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.4476, allocations: 24 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.4477, allocations: 41.64 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4478, allocations: 57.7 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4478, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.448, allocations: 101.5 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.448, allocations: 8 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.448, allocations: 4.031 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.448, allocations: 0 / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4481, allocations: 16 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4482, allocations: 0 / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.4482, allocations: 11.92 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4482, allocations: 7.938 kB / 0.5667 GB, free: 14.6 MB / 414.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.0001399/0.4484, allocations: 121.8 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.4484, allocations: 8.141 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.4486, allocations: 130.9 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4487, allocations: 3.938 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4487, allocations: 384 / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4487, allocations: 3.938 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.4492, allocations: 366.6 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4492, allocations: 3.984 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.4492, allocations: 8 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4492, allocations: 0 / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4492, allocations: 7.969 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.4492, allocations: 7.938 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4492, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4495, allocations: 200.3 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.4495, allocations: 15.89 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.4496, allocations: 3.938 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.4496, allocations: 8 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4497, allocations: 7.984 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4497, allocations: 4 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.4498, allocations: 138.1 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4498, allocations: 0 / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4501, allocations: 23.98 kB / 0.5677 GB, free: 13.46 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.001822/0.4519, allocations: 473.9 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4521, allocations: 51.97 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4521, allocations: 0 / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.4522, allocations: 23.94 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4526, allocations: 31.91 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.453, allocations: 223.4 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4534, allocations: 0.7041 MB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.4534, allocations: 17.27 kB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.4535, allocations: 15.44 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4535, allocations: 4 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.00528/0.4587, allocations: 1.776 MB / 0.5709 GB, free: 10.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: 5.511921626981348]