Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.0009616/0.0009616, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001181/0.001181, allocations: 165 kB / 24.56 MB, free: 12 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 1.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.617 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.2555/0.2555, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.206e-05, allocations: 2.312 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002889/0.002921, allocations: 1.731 MB / 377.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004323, allocations: 0.9859 MB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.004407, allocations: 3.938 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.004759, allocations: 91.69 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.005133, allocations: 115.5 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.005341, allocations: 75.61 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005521, allocations: 111.6 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.005562, allocations: 4.234 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.005664, allocations: 67.75 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005765, allocations: 47.89 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.005782, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.005869, allocations: 39.91 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.005932, allocations: 27.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.005971, allocations: 11.94 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.006156, allocations: 99.53 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00616, allocations: 4 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.006161, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.006166, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004896/0.006656, allocations: 443.9 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.006695, allocations: 12.03 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.006747, allocations: 8.891 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006961, allocations: 156.4 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.006986, allocations: 4.375 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.007003, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.007258, allocations: 54.94 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.007272, allocations: 7.938 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.007282, allocations: 3.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.007291, allocations: 0 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.007324, allocations: 15.97 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.007486, allocations: 140.7 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.007589, allocations: 47.11 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.007618, allocations: 19.67 kB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.007634, allocations: 4 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.007748, allocations: 72.94 kB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.00775, allocations: 0 / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002269/0.007977, allocations: 93.5 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.008012, allocations: 51.41 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.008164, allocations: 238.7 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.008177, allocations: 25.7 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.008233, allocations: 158.9 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.008266, allocations: 19.84 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.008298, allocations: 27.38 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.008416, allocations: 0.5001 MB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.008442, allocations: 7.938 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.00847, allocations: 23.38 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.008523, allocations: 43.36 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008525, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.821e-05/0.008624, allocations: 77.84 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.008639, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008646, allocations: 3.938 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.008665, allocations: 4.031 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.008741, allocations: 16 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.00875, allocations: 0 / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.008784, allocations: 3.984 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.00879, allocations: 4 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.258e-05/0.008872, allocations: 168 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.008888, allocations: 11.91 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.00903, allocations: 86.77 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.009032, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.009036, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.00904, allocations: 7.984 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.009139, allocations: 152.6 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.009141, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.009162, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009165, allocations: 0 / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.009172, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009174, allocations: 3.938 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009175, allocations: 0 / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.009281, allocations: 124.3 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.009297, allocations: 7.953 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.009312, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.009337, allocations: 11.86 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.009368, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.009383, allocations: 8 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.623e-05/0.009469, allocations: 177 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009469, allocations: 4 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.009627, allocations: 19.94 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009137/0.01054, allocations: 369.4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01066, allocations: 47.61 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01066, allocations: 0 / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.0107, allocations: 27.66 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01091, allocations: 51.09 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.01127, allocations: 216.8 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.01131, allocations: 63.34 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.01134, allocations: 12.48 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.01137, allocations: 16.5 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01137, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003886/0.01526, allocations: 1.655 MB / 385 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.4674992291256785]