Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.00096/0.00096, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009659/0.0009659, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 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.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2582/0.2582, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.283e-05, allocations: 3.016 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002186/0.002199, allocations: 1.766 MB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003467, allocations: 1.014 MB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.003557, allocations: 4 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.003885, allocations: 51.69 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004173, allocations: 99.53 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.004364, allocations: 79.61 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.00451, allocations: 112.1 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.149e-05/0.004581, allocations: 4 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.004663, allocations: 59.77 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.004732, allocations: 27.91 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004746, allocations: 4 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.004818, allocations: 43.92 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.004864, allocations: 31.86 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.004896, allocations: 23.91 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.005043, allocations: 115.5 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-06/0.005044, allocations: 4 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005045, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.005048, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003675/0.005416, allocations: 345.3 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.005446, allocations: 8.031 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.005477, allocations: 12.92 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005623, allocations: 158.4 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.005637, allocations: 384 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.005655, allocations: 8.359 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.00575, allocations: 65.7 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.00576, allocations: 7.938 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.005766, allocations: 4 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005771, allocations: 0 / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.005793, allocations: 7.984 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.005982, allocations: 170 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.006066, allocations: 89.34 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.006084, allocations: 12.86 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.006094, allocations: 0 / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.375e-05/0.006168, allocations: 70.03 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.006168, allocations: 4 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002658/0.006434, allocations: 109.5 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.006462, allocations: 55.39 kB / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.006583, allocations: 216 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.006597, allocations: 29.7 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.00663, allocations: 100.1 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.006654, allocations: 23.78 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.006682, allocations: 21.7 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.006753, allocations: 326.8 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.006769, allocations: 10.83 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.006793, allocations: 34.06 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.006832, allocations: 44.47 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006833, allocations: 0 / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.281e-05/0.006906, allocations: 84.34 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.006917, allocations: 8 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.006921, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.006932, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.006984, allocations: 12 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006987, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.007016, allocations: 16.02 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.00702, allocations: 0 / 330.8 MB, free: 1.961 MB / 298.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 (10): * Single equations (assignments): 10 * 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 5.928e-05/0.007079, allocations: 112.7 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.007095, allocations: 23.86 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.007193, allocations: 71.14 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007196, allocations: 7.984 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007197, allocations: 0 / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.007201, allocations: 3.984 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.007401, allocations: 295.5 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007403, allocations: 8.031 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.007425, allocations: 11.94 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.007428, allocations: 3.984 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.007435, allocations: 4 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007437, allocations: 4 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007438, allocations: 80 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.007533, allocations: 215 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.007546, allocations: 19.83 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007561, allocations: 4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.007598, allocations: 4 kB / 331.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.007621, allocations: 15.97 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.007632, allocations: 4 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.007686, allocations: 72.8 kB / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007686, allocations: 0 / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.00783, allocations: 27.92 kB / 331.7 MB, free: 0.9961 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: 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 (9): * Single equations (assignments): 7 * 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.001177/0.009008, allocations: 0.5792 MB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.009095, allocations: 40.77 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.009099, allocations: 4 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.009127, allocations: 28.78 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.009286, allocations: 34.92 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.009588, allocations: 256.3 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.009627, allocations: 79.33 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.009659, allocations: 17.27 kB / 332.7 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.00972, allocations: 71.36 kB / 332.8 MB, free: 152 kB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00972, allocations: 0 / 332.8 MB, free: 152 kB / 298.7 MB Notification: Performance of Templates: time 0.00332/0.01304, allocations: 2.035 MB / 334.8 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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: 2.8421485042199492]