Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001489/0.001489, 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.001811/0.001811, allocations: 212.6 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.62/1.62, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2472/0.2472, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003333/0.003333, allocations: 71.89 kB / 0.4967 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4405, allocations: 66.04 MB / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003507/0.444, allocations: 1.709 MB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.4459, allocations: 0.9715 MB / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.446, allocations: 0 / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.4464, allocations: 87.69 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.4468, allocations: 115.6 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.447, allocations: 75.67 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.4472, allocations: 119.6 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4473, allocations: 8 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4474, allocations: 55.77 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.4476, allocations: 67.73 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.4476, allocations: 4 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4477, allocations: 43.98 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.4478, allocations: 27.91 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.4478, allocations: 27.8 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.4481, allocations: 129.8 kB / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4481, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4481, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.4481, allocations: 4 kB / 0.5645 GB, free: 0.6719 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.0007398/0.4489, allocations: 353.5 kB / 0.5648 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4489, allocations: 8.031 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.449, allocations: 20.84 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.4493, allocations: 158.3 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4493, allocations: 4.375 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4494, allocations: 8.125 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4495, allocations: 57.61 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4495, allocations: 3.938 kB / 0.5651 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4496, allocations: 0 / 0.5651 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4496, allocations: 4 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4497, allocations: 20.06 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.4501, allocations: 240.5 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4503, allocations: 58.61 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.4503, allocations: 20.84 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4504, allocations: 7.984 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4505, allocations: 63.39 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4505, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006253/0.4512, allocations: 193.3 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4512, allocations: 51.41 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.4515, allocations: 227.5 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.4515, allocations: 25.7 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.4516, allocations: 112.1 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4516, allocations: 31.69 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.4517, allocations: 25.66 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4518, allocations: 330.8 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.4519, allocations: 19.98 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.452, allocations: 37.64 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4521, allocations: 65.7 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4521, allocations: 0 / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.4523, allocations: 109.5 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4523, allocations: 4 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4523, allocations: 4 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4524, allocations: 0 / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4525, allocations: 12 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4525, allocations: 0 / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.4525, allocations: 12.39 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4525, allocations: 4.156 kB / 0.5667 GB, free: 14.23 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.0001585/0.4527, allocations: 134.2 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4527, allocations: 15.89 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.453, allocations: 127 kB / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.453, allocations: 0 / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.453, allocations: 4 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.453, allocations: 0 / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.4536, allocations: 358.9 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4536, allocations: 4.031 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.4536, allocations: 8 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4536, allocations: 4 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4536, allocations: 0 / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4536, allocations: 3.984 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4536, allocations: 3.938 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.4539, allocations: 220.5 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.4539, allocations: 11.91 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.454, allocations: 4 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.454, allocations: 3.984 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.4541, allocations: 15.94 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.4541, allocations: 7.984 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4543, allocations: 169.2 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4543, allocations: 0 / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.4545, allocations: 23.94 kB / 0.5678 GB, free: 13.05 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 (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.001929/0.4565, allocations: 494.6 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4567, allocations: 59.98 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4567, allocations: 0 / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.4567, allocations: 31.91 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4571, allocations: 42.23 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.4577, allocations: 247.3 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.4578, allocations: 104.9 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.4578, allocations: 17.22 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.4579, allocations: 19.42 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4579, allocations: 0 / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005545/0.4634, allocations: 1.931 MB / 0.5706 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.631069120019674]