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.0009538/0.0009538, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001722/0.001722, allocations: 163.1 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9846/0.9846, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.2703/0.2703, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.501e-06, allocations: 3.984 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.539e-05, allocations: 2.312 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003172/0.003207, allocations: 1.855 MB / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.004724, allocations: 1.084 MB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.004799, allocations: 0 / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.005218, allocations: 299.1 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.005598, allocations: 259 kB / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.005771, allocations: 107.6 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.00602, allocations: 267.2 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.006072, allocations: 14.44 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.006232, allocations: 155.6 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.006405, allocations: 164.1 kB / 330.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.006432, allocations: 12 kB / 330.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.006526, allocations: 47.91 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.006644, allocations: 144.5 kB / 330.4 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.00671, allocations: 71.66 kB / 330.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.006977, allocations: 278.9 kB / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.00698, allocations: 0 / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006981, allocations: 0 / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006985, allocations: 0 / 330.7 MB, free: 2.367 MB / 298.7 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.0005962/0.007581, allocations: 0.6394 MB / 331.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.007625, allocations: 8.031 kB / 331.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.007676, allocations: 32.91 kB / 331.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.007982, allocations: 290 kB / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.008003, allocations: 8.375 kB / 331.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.008018, allocations: 4.375 kB / 331.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.008176, allocations: 91.44 kB / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.008184, allocations: 192 / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.008193, allocations: 4.312 kB / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.0082, allocations: 3.938 kB / 331.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.008245, allocations: 29.56 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.008409, allocations: 122.3 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.008552, allocations: 86.8 kB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.008585, allocations: 21.7 kB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.008602, allocations: 4 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.008739, allocations: 91.89 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.00874, allocations: 0 / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002022/0.008942, allocations: 111.2 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.008995, allocations: 89.05 kB / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.009457, allocations: 0.5868 MB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.009479, allocations: 29.7 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.009551, allocations: 149.2 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.0096, allocations: 35.72 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.009638, allocations: 21.72 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.009757, allocations: 370.7 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.009784, allocations: 10.83 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.009822, allocations: 43.41 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.009893, allocations: 68.33 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009896, allocations: 4 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001187/0.01001, allocations: 107.2 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01003, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01003, allocations: 0 / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01005, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.01012, allocations: 23.92 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01013, allocations: 0 / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.01018, allocations: 16 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.01019, allocations: 7.984 kB / 333.8 MB, free: 15.04 MB / 314.7 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 9.921e-05/0.01029, allocations: 122.1 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.01032, allocations: 31.91 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.01046, allocations: 117.9 kB / 334 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01047, allocations: 4 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01047, allocations: 0 / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01047, allocations: 3.938 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.01062, allocations: 169.6 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01062, allocations: 3.938 kB / 334.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.01065, allocations: 15.94 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01065, allocations: 4 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.01066, allocations: 4 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01066, allocations: 0 / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01066, allocations: 4.25 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.01077, allocations: 134.3 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.01082, allocations: 51.66 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.01085, allocations: 4 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.01089, allocations: 7.984 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.01092, allocations: 11.92 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01093, allocations: 12 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.01115, allocations: 315.2 kB / 334.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01115, allocations: 0 / 334.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.01131, allocations: 43.98 kB / 334.8 MB, free: 13.94 MB / 314.7 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.001104/0.01241, allocations: 0.5024 MB / 335.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01252, allocations: 52.7 kB / 335.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.01253, allocations: 8 kB / 335.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.01257, allocations: 36.91 kB / 335.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01278, allocations: 77.05 kB / 335.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.01342, allocations: 0.6345 MB / 336.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.385e-05/0.01349, allocations: 132.2 kB / 336.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.01355, allocations: 30.97 kB / 336.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.01366, allocations: 99.34 kB / 336.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01366, allocations: 0 / 336.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of Templates: time 0.006384/0.02004, allocations: 4.272 MB / 340.7 MB, free: 8.367 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9614941058680415]