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.001332/0.001332, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001517/0.001517, allocations: 167.3 kB / 25.61 MB, free: 8.473 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 1.111/1.111, allocations: 177 MB / 205.9 MB, free: 4.441 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.1719/0.1719, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.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.633e-06/1.633e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.925e-05, allocations: 3.969 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003119/0.003148, allocations: 1.837 MB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004883, allocations: 1.073 MB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.004999, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.005502, allocations: 295.2 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.005988, allocations: 259 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.006277, allocations: 115.5 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.006627, allocations: 271.2 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.00669, allocations: 9.797 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.006878, allocations: 151.6 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.007102, allocations: 204.1 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.007124, allocations: 8 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.007227, allocations: 43.98 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.007343, allocations: 136.5 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.00742, allocations: 75.66 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.007724, allocations: 275 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007726, allocations: 3.938 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.007728, allocations: 7.938 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.007735, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.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.0006797/0.008415, allocations: 0.7746 MB / 385.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.008456, allocations: 8.031 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.008526, allocations: 52.61 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.008818, allocations: 312.7 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.008843, allocations: 8.375 kB / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.008857, allocations: 4.359 kB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.009006, allocations: 98.22 kB / 386.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.009015, allocations: 4.188 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.009024, allocations: 384 / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.009031, allocations: 3.938 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.009075, allocations: 19.97 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.009299, allocations: 212.8 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.009446, allocations: 94.14 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.009483, allocations: 31.36 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.009495, allocations: 4 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.009626, allocations: 108.3 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.009627, allocations: 0 / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002726/0.0099, allocations: 165.2 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.009929, allocations: 81.11 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.01047, allocations: 0.6819 MB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01049, allocations: 25.7 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.01065, allocations: 314.7 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.0107, allocations: 31.77 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.01074, allocations: 31.36 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01086, allocations: 0.5664 MB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.01089, allocations: 15.98 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.01093, allocations: 54.66 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.01101, allocations: 79.16 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01101, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001701/0.01118, allocations: 141.3 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.0112, allocations: 10.97 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.0112, allocations: 4.062 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01122, allocations: 4 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.01131, allocations: 23.92 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01132, allocations: 3.938 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.01139, allocations: 15.89 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.0114, allocations: 4 kB / 388.8 MB, free: 13.68 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 8.281e-05/0.01148, allocations: 170 kB / 388.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.01153, allocations: 51.67 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.01175, allocations: 157.8 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01175, allocations: 11.98 kB / 389.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01175, allocations: 0 / 389.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01176, allocations: 3.938 kB / 389.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.01195, allocations: 225.1 kB / 389.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01195, allocations: 4 kB / 389.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.01199, allocations: 8 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01199, allocations: 256 / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.012, allocations: 11.98 kB / 389.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01201, allocations: 4 kB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01201, allocations: 3.938 kB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.01219, allocations: 215 kB / 389.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.01227, allocations: 63.55 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.01231, allocations: 0 / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.01237, allocations: 8 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.0124, allocations: 7.984 kB / 389.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.01242, allocations: 7.984 kB / 389.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002839/0.0127, allocations: 430.7 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0127, allocations: 0 / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.01298, allocations: 43.94 kB / 390.2 MB, free: 12.22 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.001124/0.0141, allocations: 377 kB / 390.5 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01424, allocations: 67.56 kB / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01424, allocations: 3.938 kB / 390.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.01429, allocations: 39.73 kB / 390.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.01467, allocations: 82.12 kB / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.0154, allocations: 0.6382 MB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.01549, allocations: 132.1 kB / 391.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.839e-05/0.01558, allocations: 39.44 kB / 391.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01571, allocations: 122.2 kB / 391.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01571, allocations: 0 / 391.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Templates: time 0.008009/0.02372, allocations: 4.382 MB / 396 MB, free: 6.488 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: 3.830653817858547]