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.001508/0.001508, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.000976/0.000976, allocations: 160.5 kB / 24.55 MB, free: 12 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.586 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.2739/0.2739, allocations: 34.88 MB / 296.3 MB, free: 0.5625 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 1.784e-06/1.784e-06, allocations: 3.938 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.08e-05, allocations: 3.016 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002696/0.002727, allocations: 1.841 MB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004027, allocations: 1.091 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.004108, allocations: 3.938 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.004567, allocations: 299.1 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.004966, allocations: 259 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.005167, allocations: 111.6 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.005474, allocations: 271.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.005523, allocations: 9.797 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005691, allocations: 151.6 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.005886, allocations: 200.1 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.005909, allocations: 8 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.005998, allocations: 47.92 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.006106, allocations: 144.4 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.006176, allocations: 71.66 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.00645, allocations: 275 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006453, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006454, allocations: 4 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006459, allocations: 0 / 383.6 MB, free: 13.24 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.0007961/0.007255, allocations: 0.7824 MB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.007303, allocations: 12.03 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.007383, allocations: 48.61 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.007695, allocations: 324.7 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.007719, allocations: 12.36 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.007732, allocations: 4.375 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.007891, allocations: 90.28 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007901, allocations: 4.125 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.007915, allocations: 16.36 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.007925, allocations: 7.922 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.007968, allocations: 15.98 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.008242, allocations: 312.2 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.00839, allocations: 94.16 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.008439, allocations: 35.36 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.008454, allocations: 0 / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.008592, allocations: 120.3 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.008593, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002753/0.008868, allocations: 181.2 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.008909, allocations: 81.05 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.009403, allocations: 0.7018 MB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.009421, allocations: 25.7 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.009579, allocations: 302.8 kB / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.009618, allocations: 23.84 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.009661, allocations: 35.36 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.009846, allocations: 0.5626 MB / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.00988, allocations: 12 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.009931, allocations: 58.72 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.01001, allocations: 70.69 kB / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01002, allocations: 4 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001684/0.01019, allocations: 157.7 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.0102, allocations: 4 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.0102, allocations: 4.062 kB / 387.6 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01022, allocations: 4 kB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.0103, allocations: 23.92 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.01031, allocations: 4.062 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.01036, allocations: 15.94 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01037, allocations: 7.984 kB / 387.7 MB, free: 8.832 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 9.702e-05/0.01046, allocations: 166 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.0105, allocations: 55.62 kB / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.01071, allocations: 161.8 kB / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.01072, allocations: 11.98 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01073, allocations: 3.938 kB / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01073, allocations: 0 / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.01097, allocations: 308.5 kB / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01097, allocations: 0 / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.011, allocations: 12 kB / 388.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.011, allocations: 3.984 kB / 388.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01102, allocations: 4 kB / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01102, allocations: 0 / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01102, allocations: 0 / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01121, allocations: 219.5 kB / 388.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.01126, allocations: 75.59 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.01129, allocations: 0 / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.01133, allocations: 7.984 kB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.01138, allocations: 15.92 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.01139, allocations: 7.984 kB / 388.7 MB, free: 7.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003249/0.01172, allocations: 478.8 kB / 389.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 389.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.0119, allocations: 40 kB / 389.2 MB, free: 7.219 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.0008723/0.01277, allocations: 385.6 kB / 389.6 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01292, allocations: 79.52 kB / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01292, allocations: 0 / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.01297, allocations: 39.61 kB / 389.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01329, allocations: 82.97 kB / 389.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.01404, allocations: 0.6558 MB / 390.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.773e-05/0.01412, allocations: 128.2 kB / 390.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.01419, allocations: 34.95 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.01425, allocations: 32.48 kB / 390.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01425, allocations: 0 / 390.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of Templates: time 0.007772/0.02202, allocations: 4.251 MB / 394.9 MB, free: 1.633 MB / 362.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: 3.2922123400494456]