Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001399/0.001399, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001076/0.001076, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.04/1.04, allocations: 177 MB / 204.8 MB, free: 5.594 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.2695/0.2695, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.515e-05, allocations: 2.875 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.008887/0.008912, allocations: 1.841 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.0106, allocations: 1.091 MB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.01068, allocations: 4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.01122, allocations: 307.1 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.01165, allocations: 267 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.01183, allocations: 111.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.0121, allocations: 267.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.01214, allocations: 9.797 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.0123, allocations: 151.6 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.01248, allocations: 207.6 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.01251, allocations: 12 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.01259, allocations: 47.92 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01271, allocations: 147.5 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.01278, allocations: 63.67 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.01307, allocations: 286.9 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01307, allocations: 0 / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01307, allocations: 0 / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.01308, allocations: 0 / 383.6 MB, free: 13.22 MB / 362.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.0007607/0.01384, allocations: 0.7941 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.01388, allocations: 12.03 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.01396, allocations: 56.56 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.01431, allocations: 332.6 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.01433, allocations: 4.375 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.01435, allocations: 384 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.01452, allocations: 98.28 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.01453, allocations: 4.125 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.01454, allocations: 384 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01455, allocations: 7.938 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.01459, allocations: 19.92 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.01488, allocations: 316.2 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.01503, allocations: 98.16 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.01508, allocations: 35.36 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.01509, allocations: 4 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.01524, allocations: 108.4 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/0.01524, allocations: 7.922 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000309/0.01555, allocations: 173.3 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.0156, allocations: 96.97 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.01613, allocations: 0.7097 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01615, allocations: 25.7 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.01632, allocations: 310.8 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.01636, allocations: 31.73 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.0164, allocations: 35.36 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.01658, allocations: 0.5587 MB / 387.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.01661, allocations: 19.98 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.01666, allocations: 50.73 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.01675, allocations: 82.67 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01675, allocations: 0 / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001681/0.01692, allocations: 149.9 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01694, allocations: 8 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01694, allocations: 0 / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01696, allocations: 0 / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.01705, allocations: 31.86 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01706, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.01712, allocations: 15.95 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01712, allocations: 8.062 kB / 387.8 MB, free: 8.766 MB / 362.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 0.0001081/0.01723, allocations: 170 kB / 387.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.01727, allocations: 55.67 kB / 388 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.01747, allocations: 158 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01747, allocations: 0 / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01748, allocations: 7.938 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01748, allocations: 0 / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.01773, allocations: 324.3 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01773, allocations: 3.938 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.01776, allocations: 8 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01777, allocations: 8 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01778, allocations: 7.984 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01778, allocations: 0 / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.01778, allocations: 4 kB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.01798, allocations: 207.7 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.01804, allocations: 63.66 kB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.01808, allocations: 11.94 kB / 388.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.01812, allocations: 4 kB / 388.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.01817, allocations: 11.92 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.01818, allocations: 11.98 kB / 388.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.01852, allocations: 486.8 kB / 389.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01852, allocations: 0 / 389.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.01871, allocations: 47.98 kB / 389.3 MB, free: 7.133 MB / 362.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.0008462/0.01956, allocations: 392.5 kB / 389.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.01971, allocations: 71.59 kB / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01971, allocations: 0 / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.01976, allocations: 43.61 kB / 389.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.02005, allocations: 71.33 kB / 389.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.02087, allocations: 0.6715 MB / 390.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.02095, allocations: 128.2 kB / 390.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.719e-05/0.02104, allocations: 42.95 kB / 390.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.0211, allocations: 32.5 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02111, allocations: 0 / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of Templates: time 0.007467/0.02857, allocations: 4.305 MB / 395.1 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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: 3.2498369603417814]