Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.7e-05, allocations: 6.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002167/0.002184, allocations: 1.847 MB / 378 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003483, allocations: 1.084 MB / 379 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.003558, allocations: 3.938 kB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.003968, allocations: 299.1 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.004307, allocations: 259 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.004453, allocations: 107.6 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.004673, allocations: 275.2 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.004712, allocations: 5.812 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.00484, allocations: 151.6 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.005, allocations: 196.1 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.005021, allocations: 8 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.005097, allocations: 55.84 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.005192, allocations: 140.5 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.005256, allocations: 75.66 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.005637, allocations: 278.9 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00564, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00564, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005645, allocations: 0 / 380.8 MB, free: 15.81 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.0006244/0.006269, allocations: 0.7785 MB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.006304, allocations: 12.03 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.006368, allocations: 56.59 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.006654, allocations: 324.7 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006671, allocations: 4.375 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.006684, allocations: 8.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.006823, allocations: 90.28 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.006833, allocations: 11.81 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006842, allocations: 4 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006849, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.006891, allocations: 19.98 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.007129, allocations: 312.2 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.007265, allocations: 98.16 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.007307, allocations: 39.34 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.007319, allocations: 4 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.007437, allocations: 108.3 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007438, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002523/0.00769, allocations: 177.2 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.007723, allocations: 81.11 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.008184, allocations: 0.7018 MB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.008198, allocations: 33.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.008332, allocations: 302.8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.008363, allocations: 19.86 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.008397, allocations: 35.36 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003908/0.008788, allocations: 0.5587 MB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.008817, allocations: 11.98 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.00886, allocations: 58.73 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.008933, allocations: 79.17 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008935, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001357/0.009071, allocations: 157.2 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.009083, allocations: 9.547 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.009088, allocations: 3.938 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009101, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.009176, allocations: 16 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.009182, allocations: 4 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.00923, allocations: 11.92 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.009237, allocations: 4 kB / 384.9 MB, free: 11.42 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 8.036e-05/0.009317, allocations: 173.2 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.009354, allocations: 59.61 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.009537, allocations: 165.8 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.00954, allocations: 4 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.009543, allocations: 0 / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009546, allocations: 0 / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.00974, allocations: 312.4 kB / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00974, allocations: 0 / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.009766, allocations: 11.98 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.009768, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.009778, allocations: 12 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.00978, allocations: 3.938 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00978, allocations: 256 / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.009935, allocations: 215.7 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.009989, allocations: 63.59 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.01001, allocations: 4 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.01005, allocations: 11.92 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.01009, allocations: 7.984 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.0101, allocations: 8 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.0104, allocations: 474.8 kB / 386.4 MB, free: 9.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0104, allocations: 4 kB / 386.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01056, allocations: 47.98 kB / 386.5 MB, free: 9.801 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.0007213/0.01129, allocations: 395.9 kB / 386.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01142, allocations: 67.59 kB / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01142, allocations: 0 / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.01147, allocations: 43.61 kB / 387 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01172, allocations: 66.27 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.01235, allocations: 0.6598 MB / 387.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.01242, allocations: 136.2 kB / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.01248, allocations: 38.95 kB / 387.9 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.01253, allocations: 32.48 kB / 387.9 MB, free: 8.445 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01253, allocations: 0 / 387.9 MB, free: 8.445 MB / 362.7 MB Notification: Performance of Templates: time 0.006186/0.01871, allocations: 4.263 MB / 392.2 MB, free: 4.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0500772949308157]