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.001074/0.001074, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002614, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008718/0.0008718, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009854/0.001857, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.042/1.042, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09076/1.133, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2627/0.2627, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.043/0.3057, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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 4.829e-06/4.829e-06, allocations: 4 kB / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.449e-05, allocations: 2.312 kB / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002997/0.003021, allocations: 1.882 MB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.004816, allocations: 1.101 MB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.004888, allocations: 7.938 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.005216, allocations: 311.1 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.005518, allocations: 255.1 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.005678, allocations: 111.5 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.005911, allocations: 263.2 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.005956, allocations: 10.45 kB / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.006161, allocations: 217.1 kB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.006318, allocations: 175.7 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.006338, allocations: 8 kB / 298.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.006419, allocations: 51.86 kB / 298.3 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.006526, allocations: 144 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.006583, allocations: 51.75 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006815, allocations: 274.9 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.006829, allocations: 0 / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006829, allocations: 0 / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.006844, allocations: 0 / 298.8 MB, free: 280 kB / 282.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.0006536/0.007497, allocations: 0.7041 MB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.007527, allocations: 10.55 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.007573, allocations: 32.91 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.007826, allocations: 301.9 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.007843, allocations: 384 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.007855, allocations: 4.375 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.007987, allocations: 91.44 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.007996, allocations: 4.125 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.008005, allocations: 7 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008013, allocations: 0 / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.703e-05/0.00805, allocations: 17.64 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.008182, allocations: 118.3 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.008285, allocations: 90.78 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.008312, allocations: 21.72 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.008323, allocations: 7.938 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.008435, allocations: 107.8 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 6.51e-07/0.008435, allocations: 0 / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001496/0.008585, allocations: 111.2 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.008618, allocations: 85.05 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.008979, allocations: 0.6063 MB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008992, allocations: 25.7 kB / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.009046, allocations: 149.3 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.009079, allocations: 31.77 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.009111, allocations: 25.7 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.009201, allocations: 370.7 kB / 301.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.00922, allocations: 10.83 kB / 301.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.00925, allocations: 43.42 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.009307, allocations: 71.81 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009309, allocations: 0 / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.796e-05/0.009407, allocations: 103.2 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.00942, allocations: 7.938 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.009424, allocations: 0.625 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.009431, allocations: 7.938 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.009505, allocations: 23.98 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.009508, allocations: 0 / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.009564, allocations: 15.94 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.009571, allocations: 8.062 kB / 301.9 MB, free: 12.86 MB / 298.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 7.668e-05/0.009648, allocations: 128.5 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.009674, allocations: 31.95 kB / 302.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.0098, allocations: 121.9 kB / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009803, allocations: 4 kB / 302.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.009805, allocations: 0 / 302.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009809, allocations: 7.922 kB / 302.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.009938, allocations: 165.7 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009939, allocations: 0 / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.009965, allocations: 11.98 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.01001, allocations: 59.61 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01001, allocations: 4 kB / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.01002, allocations: 7.922 kB / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01002, allocations: 0 / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01002, allocations: 7.938 kB / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.01012, allocations: 131.1 kB / 302.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.01015, allocations: 11.98 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.01018, allocations: 0 / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.01021, allocations: 11.92 kB / 302.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01023, allocations: 8 kB / 302.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.01045, allocations: 331.2 kB / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01045, allocations: 0 / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.0106, allocations: 47.92 kB / 303 MB, free: 11.72 MB / 298.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.001168/0.01177, allocations: 0.5334 MB / 303.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.01186, allocations: 60.89 kB / 303.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.01188, allocations: 8 kB / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.01191, allocations: 32.72 kB / 303.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01212, allocations: 89.62 kB / 303.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.01291, allocations: 0.6618 MB / 304.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.01299, allocations: 128.2 kB / 304.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.01306, allocations: 42.92 kB / 304.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.01316, allocations: 95.36 kB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01316, allocations: 0 / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.006202/0.01936, allocations: 4.357 MB / 309 MB, free: 6.023 MB / 298.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 -ignoreHideResult -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.0146071882918477]