Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001972/0.001972, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002175/0.002175, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2421/0.2421, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003142/0.003142, allocations: 67.91 kB / 0.4975 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4275, allocations: 66.03 MB / 0.5619 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004583/0.432, allocations: 1.936 MB / 0.5638 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.4345, allocations: 1.154 MB / 0.565 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.4347, allocations: 7.938 kB / 0.565 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.4353, allocations: 219.4 kB / 0.5652 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000663/0.436, allocations: 223.2 kB / 0.5654 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.4364, allocations: 111.7 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.437, allocations: 267.2 kB / 0.5658 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.4372, allocations: 17.97 kB / 0.5658 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.4376, allocations: 131.5 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.438, allocations: 171.4 kB / 0.5661 GB, free: 148 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.4381, allocations: 11.98 kB / 0.5661 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.4384, allocations: 63.98 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4385, allocations: 55.77 kB / 0.5662 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.4387, allocations: 99.22 kB / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.4393, allocations: 249.2 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4393, allocations: 0 / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4393, allocations: 0 / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4393, allocations: 0 / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001424/0.4407, allocations: 0.5041 MB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.4408, allocations: 8.031 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4409, allocations: 28.75 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.4416, allocations: 238.4 kB / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4416, allocations: 384 / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.4416, allocations: 16.12 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.442, allocations: 119.3 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.442, allocations: 0 / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.442, allocations: 0 / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.442, allocations: 4 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4422, allocations: 47.95 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.4431, allocations: 447.8 kB / 0.5679 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.4436, allocations: 125.2 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4437, allocations: 37.83 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.4437, allocations: 4 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.444, allocations: 113.1 kB / 0.5682 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.444, allocations: 0 / 0.5682 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001601/0.4456, allocations: 0.5121 MB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.4457, allocations: 81.11 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.4462, allocations: 448.5 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.4463, allocations: 33.69 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4464, allocations: 164.4 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.4465, allocations: 71.42 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.4466, allocations: 45.7 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4468, allocations: 342.8 kB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.447, allocations: 59.97 kB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.4471, allocations: 95.34 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.4474, allocations: 159.3 kB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4474, allocations: 0 / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000461/0.4479, allocations: 233.7 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4479, allocations: 11.94 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4479, allocations: 0 / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4479, allocations: 4 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4481, allocations: 47.91 kB / 0.5704 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.4481, allocations: 5.172 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.4482, allocations: 7.953 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4482, allocations: 16 kB / 0.5704 GB, free: 11.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001972/0.4484, allocations: 162.3 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.4485, allocations: 39.75 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.4491, allocations: 268.3 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4491, allocations: 4 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4491, allocations: 3.984 kB / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4491, allocations: 0 / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4502, allocations: 0.7068 MB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4502, allocations: 0 / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.4502, allocations: 31.92 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4503, allocations: 4 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.4503, allocations: 15.97 kB / 0.5716 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4503, allocations: 4 kB / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4503, allocations: 0 / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.4509, allocations: 430.1 kB / 0.572 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.4509, allocations: 31.75 kB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.451, allocations: 8 kB / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4511, allocations: 8 kB / 0.572 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.4512, allocations: 23.91 kB / 0.5721 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.4512, allocations: 15.98 kB / 0.5721 GB, free: 9.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.4516, allocations: 335 kB / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4516, allocations: 0 / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.452, allocations: 47.94 kB / 0.5725 GB, free: 9.242 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002082/0.4541, allocations: 0.5219 MB / 0.573 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.4545, allocations: 143.8 kB / 0.5731 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.4545, allocations: 4 kB / 0.5731 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4547, allocations: 75.78 kB / 0.5732 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.4553, allocations: 59.45 kB / 0.5732 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4564, allocations: 0.5959 MB / 0.5738 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4569, allocations: 0.7714 MB / 0.5746 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.457, allocations: 27.44 kB / 0.5746 GB, free: 7.184 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.457, allocations: 0 / 0.5746 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Templates: time 0.008413/0.4654, allocations: 3.777 MB / 0.5783 GB, free: 3.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.291044062003493]