Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2676/0.2676, allocations: 46.94 MB / 360.8 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.4967 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4419, allocations: 66.08 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003455/0.4453, allocations: 1.78 MB / 0.563 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.4473, allocations: 1.041 MB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.4474, allocations: 4 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.448, allocations: 311.3 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.4485, allocations: 263.2 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.4487, allocations: 103.6 kB / 0.5646 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.449, allocations: 263.3 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.4491, allocations: 9.797 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.4493, allocations: 135.5 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.4496, allocations: 219.4 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.4496, allocations: 8 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4497, allocations: 47.98 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.4498, allocations: 139.6 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.45, allocations: 115 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.4504, allocations: 392.6 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4504, allocations: 0 / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4504, allocations: 0 / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4504, allocations: 0 / 0.5659 GB, free: 15.18 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.001026/0.4515, allocations: 0.6786 MB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4515, allocations: 12.03 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.4516, allocations: 48.61 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.4522, allocations: 394.5 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4522, allocations: 384 / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4522, allocations: 12.3 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.4525, allocations: 91.67 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4525, allocations: 3.984 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4525, allocations: 8 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4525, allocations: 3.938 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4526, allocations: 31.92 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.453, allocations: 314 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4533, allocations: 109.2 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.4534, allocations: 45.7 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4534, allocations: 0 / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4537, allocations: 101.1 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.216e-06/0.4537, allocations: 7.984 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005196/0.4542, allocations: 213.2 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.4543, allocations: 77.11 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4555, allocations: 1.065 MB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.4555, allocations: 29.7 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.4557, allocations: 240.1 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.4558, allocations: 35.73 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.4558, allocations: 25.72 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.4561, allocations: 370.8 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.4561, allocations: 35.98 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4563, allocations: 59.41 kB / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.4564, allocations: 87.36 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4564, allocations: 4 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.4568, allocations: 181.8 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4568, allocations: 7.938 kB / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4568, allocations: 0 / 0.57 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.4568, allocations: 4 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.457, allocations: 23.92 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.457, allocations: 4 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.4571, allocations: 15.92 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4571, allocations: 8.062 kB / 0.5701 GB, free: 10.65 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002357/0.4573, allocations: 220 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.4574, allocations: 63.55 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.4578, allocations: 201.8 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4578, allocations: 0 / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4578, allocations: 7.938 kB / 0.5706 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4578, allocations: 0 / 0.5706 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.4581, allocations: 269.2 kB / 0.5708 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4581, allocations: 0 / 0.5708 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.4582, allocations: 19.88 kB / 0.5708 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4582, allocations: 4 kB / 0.5709 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.4582, allocations: 11.92 kB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4582, allocations: 0 / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4582, allocations: 0 / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.4586, allocations: 221.6 kB / 0.5711 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.4587, allocations: 59.61 kB / 0.5711 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.4588, allocations: 15.92 kB / 0.5711 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.4589, allocations: 4 kB / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.4589, allocations: 11.92 kB / 0.5712 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4589, allocations: 4 kB / 0.5712 GB, free: 9.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009161/0.4598, allocations: 0.7995 MB / 0.5719 GB, free: 8.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4598, allocations: 0 / 0.5719 GB, free: 8.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000273/0.4601, allocations: 44 kB / 0.572 GB, free: 8.648 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001731/0.4618, allocations: 429.3 kB / 0.5724 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.4621, allocations: 83.89 kB / 0.5725 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4621, allocations: 0 / 0.5725 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.4623, allocations: 51.91 kB / 0.5725 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.4627, allocations: 80.75 kB / 0.5726 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4643, allocations: 0.8977 MB / 0.5735 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4647, allocations: 245.7 kB / 0.5737 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.4648, allocations: 54.97 kB / 0.5738 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.4649, allocations: 35.42 kB / 0.5738 GB, free: 6.895 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4649, allocations: 0 / 0.5738 GB, free: 6.895 MB / 414.1 MB Notification: Performance of Templates: time 0.01065/0.4755, allocations: 4.378 MB / 0.5781 GB, free: 2.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.476291786879301]