Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.00161/0.00161, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001597/0.001597, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.428/1.428, allocations: 230.3 MB / 257.9 MB, free: 8.262 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.2332/0.2332, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 87.84 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3422, allocations: 66.02 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004524/0.3467, allocations: 1.747 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3493, allocations: 1.049 MB / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.3494, allocations: 7.875 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.3498, allocations: 51.75 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.3502, allocations: 99.59 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3506, allocations: 79.67 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.3508, allocations: 103.7 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3509, allocations: 4 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3511, allocations: 55.66 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3512, allocations: 31.84 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.3512, allocations: 4 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3513, allocations: 39.98 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.3514, allocations: 27.92 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.3515, allocations: 47.66 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.3518, allocations: 133.9 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3518, allocations: 0 / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3518, allocations: 0 / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3518, allocations: 0 / 0.565 GB, free: 1.113 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.0007185/0.3525, allocations: 361.4 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3526, allocations: 8.031 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.3527, allocations: 12.89 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.3531, allocations: 163.1 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3531, allocations: 384 / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3531, allocations: 4.375 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3533, allocations: 65.86 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3533, allocations: 0 / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3534, allocations: 4 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3534, allocations: 0 / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3535, allocations: 19.98 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.354, allocations: 267.9 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3543, allocations: 58.61 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.3543, allocations: 20.84 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3544, allocations: 0 / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.3546, allocations: 67.39 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3546, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007553/0.3554, allocations: 185.3 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3554, allocations: 51.41 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.3558, allocations: 239 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3558, allocations: 25.7 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3559, allocations: 112.1 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.356, allocations: 27.78 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.3561, allocations: 33.7 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3563, allocations: 326.8 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.3564, allocations: 23.98 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3565, allocations: 37.64 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3567, allocations: 53.8 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3567, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002889/0.3569, allocations: 113.5 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.357, allocations: 8 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.357, allocations: 0 / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.357, allocations: 0 / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3571, allocations: 19.98 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3571, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.3572, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3572, allocations: 8 kB / 0.5672 GB, free: 14.64 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.0001582/0.3574, allocations: 135 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3574, allocations: 23.89 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.3577, allocations: 119 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3578, allocations: 4 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3578, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3578, allocations: 3.938 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.3584, allocations: 362.7 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3584, allocations: 7.984 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.3585, allocations: 16.03 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3585, allocations: 4 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3585, allocations: 0 / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3585, allocations: 3.938 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3585, allocations: 4 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.3589, allocations: 208.2 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.3589, allocations: 15.89 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3589, allocations: 4 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3591, allocations: 7.938 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3591, allocations: 7.984 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3591, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.3593, allocations: 175.2 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3598, allocations: 20.19 kB / 0.5683 GB, free: 13.45 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 (8): * Single equations (assignments): 6 * 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.002329/0.3622, allocations: 463.4 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3624, allocations: 51.97 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3624, allocations: 0 / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.3625, allocations: 24.06 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3631, allocations: 50.09 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.3637, allocations: 267.1 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3642, allocations: 0.708 MB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.3643, allocations: 16.97 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.3643, allocations: 19.44 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3643, allocations: 0 / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.006842/0.3712, allocations: 1.787 MB / 0.5716 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.147294809110463]