Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00134/0.00134, 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.0015/0.0015, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2348/0.2348, allocations: 46.96 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 79.88 kB / 0.4967 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4413, allocations: 66.08 MB / 0.5612 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003824/0.4451, allocations: 1.79 MB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.4472, allocations: 1.037 MB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.4473, allocations: 7.938 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.4479, allocations: 303.3 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.4485, allocations: 259.2 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.4488, allocations: 107.6 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4492, allocations: 267.2 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.4492, allocations: 9.797 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4494, allocations: 127.5 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.4497, allocations: 211.9 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.4498, allocations: 4 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4499, allocations: 51.97 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.4501, allocations: 136.5 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4502, allocations: 115 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.4507, allocations: 376.6 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4507, allocations: 0 / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4507, allocations: 0 / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4507, allocations: 0 / 0.5659 GB, free: 15.05 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.001154/0.4519, allocations: 0.6825 MB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4519, allocations: 8.031 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.452, allocations: 52.61 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.4528, allocations: 386.5 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.4529, allocations: 4.375 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4529, allocations: 4.375 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.4532, allocations: 91.67 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4532, allocations: 0 / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4532, allocations: 4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4532, allocations: 0 / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4533, allocations: 39.91 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.4538, allocations: 302.1 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.4541, allocations: 101.2 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4543, allocations: 41.64 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4543, allocations: 7.984 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.4546, allocations: 109.1 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.4546, allocations: 0 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006009/0.4552, allocations: 217.1 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.4552, allocations: 81.11 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.4566, allocations: 1.03 MB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4566, allocations: 29.7 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.4568, allocations: 232.1 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.4569, allocations: 39.7 kB / 0.5692 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.4569, allocations: 29.64 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4571, allocations: 370.8 kB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4572, allocations: 28.48 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4574, allocations: 67.41 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.4577, allocations: 95.34 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4577, allocations: 4 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.458, allocations: 173.2 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.458, allocations: 11.94 kB / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4581, allocations: 0 / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4581, allocations: 0 / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4582, allocations: 27.92 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4582, allocations: 0 / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.4583, allocations: 15.88 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4583, allocations: 7.938 kB / 0.57 GB, free: 10.58 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.0002696/0.4586, allocations: 224 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.4587, allocations: 59.59 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.4591, allocations: 201.8 kB / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4591, allocations: 0 / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4591, allocations: 256 / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4591, allocations: 0 / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.4595, allocations: 269.2 kB / 0.5707 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4596, allocations: 0 / 0.5707 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.4596, allocations: 15.94 kB / 0.5707 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4596, allocations: 4 kB / 0.5707 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4596, allocations: 7.938 kB / 0.5708 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4596, allocations: 0 / 0.5708 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4596, allocations: 3.984 kB / 0.5708 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.46, allocations: 217.5 kB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.4602, allocations: 67.59 kB / 0.571 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.4602, allocations: 7.938 kB / 0.571 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.4603, allocations: 7.984 kB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.4604, allocations: 11.98 kB / 0.5711 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4604, allocations: 4 kB / 0.5711 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.4614, allocations: 0.776 MB / 0.5718 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4614, allocations: 3.938 kB / 0.5718 GB, free: 8.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.4617, allocations: 40 kB / 0.5719 GB, free: 8.613 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.002099/0.4638, allocations: 429.7 kB / 0.5723 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.4642, allocations: 87.89 kB / 0.5724 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4642, allocations: 0 / 0.5724 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4643, allocations: 47.91 kB / 0.5724 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.4648, allocations: 77.06 kB / 0.5725 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4663, allocations: 0.8737 MB / 0.5733 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4666, allocations: 241.7 kB / 0.5736 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.4667, allocations: 58.94 kB / 0.5736 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.4668, allocations: 31.44 kB / 0.5736 GB, free: 6.887 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4668, allocations: 0 / 0.5736 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Templates: time 0.01134/0.4781, allocations: 4.327 MB / 0.5779 GB, free: 2.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.343932768329978]