Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001759/0.001759, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002088/0.002088, allocations: 219.4 kB / 23 MB, free: 5.574 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.552/1.552, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.264/0.264, allocations: 46.91 MB / 359.4 MB, free: 4.852 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.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 83.88 kB / 0.4947 GB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4715, allocations: 65.99 MB / 0.5592 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004332/0.4758, allocations: 1.932 MB / 0.5611 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.4782, allocations: 1.158 MB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4783, allocations: 4 kB / 0.5622 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.479, allocations: 163.5 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.4795, allocations: 179.3 kB / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.4799, allocations: 119.6 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.4803, allocations: 243.3 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4805, allocations: 25.67 kB / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.4807, allocations: 115.5 kB / 0.563 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.4809, allocations: 143.5 kB / 0.5632 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.4809, allocations: 8 kB / 0.5632 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.4811, allocations: 59.98 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4812, allocations: 55.77 kB / 0.5633 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4813, allocations: 87.34 kB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.4816, allocations: 229.3 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4816, allocations: 4 kB / 0.5636 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4816, allocations: 0 / 0.5636 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4816, allocations: 0 / 0.5636 GB, free: 0.5195 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009066/0.4826, allocations: 0.5404 MB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4826, allocations: 15.97 kB / 0.5641 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.4827, allocations: 28.75 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.4832, allocations: 275.8 kB / 0.5644 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.4833, allocations: 8.375 kB / 0.5644 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4833, allocations: 8.375 kB / 0.5644 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.4836, allocations: 114.8 kB / 0.5645 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4836, allocations: 3.938 kB / 0.5645 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4836, allocations: 0 / 0.5645 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4836, allocations: 4 kB / 0.5645 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.4838, allocations: 47.95 kB / 0.5646 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.4845, allocations: 476.6 kB / 0.565 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.4849, allocations: 113.2 kB / 0.5652 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.485, allocations: 45.77 kB / 0.5652 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.4851, allocations: 11.98 kB / 0.5652 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.4854, allocations: 121.2 kB / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.562e-06/0.4854, allocations: 0 / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001458/0.4868, allocations: 0.4934 MB / 0.5658 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.487, allocations: 85.09 kB / 0.5659 GB, free: 13.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.4875, allocations: 367.3 kB / 0.5662 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.4875, allocations: 33.7 kB / 0.5663 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4876, allocations: 148.5 kB / 0.5664 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.4877, allocations: 75.39 kB / 0.5665 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.4878, allocations: 41.7 kB / 0.5665 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.488, allocations: 342.8 kB / 0.5668 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4882, allocations: 55.98 kB / 0.5669 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4883, allocations: 95.33 kB / 0.567 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4886, allocations: 163.5 kB / 0.5671 GB, free: 12.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4886, allocations: 4 kB / 0.5672 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004167/0.489, allocations: 233.3 kB / 0.5674 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.489, allocations: 4 kB / 0.5674 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.489, allocations: 0 / 0.5674 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.4891, allocations: 7.938 kB / 0.5674 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4892, allocations: 35.98 kB / 0.5674 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4892, allocations: 7.938 kB / 0.5674 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.4893, allocations: 11.98 kB / 0.5674 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.4893, allocations: 16.06 kB / 0.5675 GB, free: 12.26 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.0001636/0.4895, allocations: 149.8 kB / 0.5676 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.4896, allocations: 27.81 kB / 0.5676 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.4901, allocations: 259.8 kB / 0.5679 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4901, allocations: 7.938 kB / 0.5679 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4901, allocations: 0 / 0.5679 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4901, allocations: 3.984 kB / 0.5679 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.4913, allocations: 0.7272 MB / 0.5686 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4913, allocations: 0 / 0.5686 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.4914, allocations: 35.92 kB / 0.5686 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4914, allocations: 4 kB / 0.5686 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4915, allocations: 11.98 kB / 0.5686 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.4915, allocations: 8.109 kB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4915, allocations: 4 kB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.492, allocations: 421.2 kB / 0.5691 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.4921, allocations: 108.9 kB / 0.5692 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.4921, allocations: 8 kB / 0.5692 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4924, allocations: 8 kB / 0.5692 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.4924, allocations: 23.91 kB / 0.5692 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4925, allocations: 12 kB / 0.5692 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.4928, allocations: 277.9 kB / 0.5695 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4928, allocations: 0 / 0.5695 GB, free: 10.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.4932, allocations: 47.94 kB / 0.5695 GB, free: 10.02 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.002006/0.4952, allocations: 0.5084 MB / 0.57 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.4956, allocations: 147.8 kB / 0.5702 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4956, allocations: 0 / 0.5702 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4957, allocations: 71.84 kB / 0.5702 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.4963, allocations: 78.02 kB / 0.5703 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.4973, allocations: 0.5118 MB / 0.5708 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.4978, allocations: 0.7675 MB / 0.5715 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.4979, allocations: 41.92 kB / 0.5716 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.498, allocations: 35.42 kB / 0.5716 GB, free: 7.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.498, allocations: 0 / 0.5716 GB, free: 7.98 MB / 414.1 MB Notification: Performance of Templates: time 0.007638/0.5056, allocations: 3.198 MB / 0.5747 GB, free: 4.805 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.421673352830112]