Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.00151/0.00151, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001694/0.001694, allocations: 208.4 kB / 23.74 MB, free: 4.691 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.614/1.614, 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.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.255/0.255, allocations: 46.93 MB / 360.9 MB, free: 4.242 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.89 kB / 0.4967 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4484, allocations: 66.04 MB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003473/0.4519, allocations: 1.842 MB / 0.563 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.4548, allocations: 1.805 MB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.4549, allocations: 7.938 kB / 0.5648 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.4553, allocations: 47.69 kB / 0.5648 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.4557, allocations: 139.4 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.4559, allocations: 111.6 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.4562, allocations: 211.3 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.4563, allocations: 5.812 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.4565, allocations: 95.55 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.4567, allocations: 79.62 kB / 0.5654 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.4568, allocations: 12.05 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.457, allocations: 115.8 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.4571, allocations: 35.91 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4572, allocations: 67.53 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.4576, allocations: 233.4 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4576, allocations: 0 / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4576, allocations: 0 / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4576, allocations: 0 / 0.5659 GB, free: 15.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007687/0.4584, allocations: 432.8 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4584, allocations: 12.03 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.4585, allocations: 16.84 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4589, allocations: 190.2 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4589, allocations: 4.375 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4589, allocations: 8.125 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.4591, allocations: 105 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4591, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4592, allocations: 4 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4592, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.4593, allocations: 27.97 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.4595, allocations: 201.5 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4598, allocations: 101.2 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.4599, allocations: 41.64 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4599, allocations: 7.938 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.4602, allocations: 105 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.4602, allocations: 0 / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000459/0.4606, allocations: 181.4 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.4607, allocations: 128.5 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.461, allocations: 240.1 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.461, allocations: 25.7 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.4611, allocations: 116.1 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4612, allocations: 31.8 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.4612, allocations: 29.72 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4614, allocations: 330.8 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.4615, allocations: 31.98 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4616, allocations: 73.08 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4618, allocations: 87.44 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4618, allocations: 0 / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003102/0.4621, allocations: 141.4 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4621, allocations: 4 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4621, allocations: 4 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4621, allocations: 3.938 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4623, allocations: 20.61 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4623, allocations: 4 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.4623, allocations: 15.94 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4624, allocations: 12 kB / 0.5685 GB, free: 12.61 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.4625, allocations: 138.2 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.4625, allocations: 15.91 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.4629, allocations: 154.7 kB / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4629, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4629, allocations: 4 kB / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4629, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.4632, allocations: 200.5 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4632, allocations: 4 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.4632, allocations: 7.984 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4632, allocations: 0 / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4632, allocations: 8 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4632, allocations: 0 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4632, allocations: 0 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.4635, allocations: 177.7 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4636, allocations: 19.83 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.4636, allocations: 11.98 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.4637, allocations: 7.984 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.4637, allocations: 15.92 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4638, allocations: 4 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.464, allocations: 173.8 kB / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.464, allocations: 0 / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.4642, allocations: 55.86 kB / 0.5694 GB, free: 11.54 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.001777/0.466, allocations: 0.4955 MB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.4663, allocations: 75.91 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4663, allocations: 0 / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.4664, allocations: 43.91 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4667, allocations: 62.06 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.4673, allocations: 279.8 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.4677, allocations: 0.7164 MB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.4678, allocations: 29.45 kB / 0.5711 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.4679, allocations: 31.42 kB / 0.5711 GB, free: 9.953 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4679, allocations: 0 / 0.5711 GB, free: 9.953 MB / 414.1 MB Notification: Performance of Templates: time 0.007646/0.4755, allocations: 3.177 MB / 0.5742 GB, free: 6.809 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.70025660097599]