Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001093/0.001093, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00166/0.00166, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9809/0.9809, allocations: 177 MB / 205.2 MB, free: 5.023 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.2701/0.2701, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.435e-05, allocations: 6.312 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002399/0.002424, allocations: 1.77 MB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003679, allocations: 1.002 MB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.003753, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.004046, allocations: 87.62 kB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.004351, allocations: 119.4 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.004579, allocations: 83.55 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.00481, allocations: 111.7 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.004884, allocations: 11.98 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.004974, allocations: 75.73 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.005057, allocations: 47.88 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.005069, allocations: 4 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.005145, allocations: 43.92 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.005188, allocations: 31.86 kB / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.005217, allocations: 19.92 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.005364, allocations: 107.6 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005366, allocations: 0 / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005367, allocations: 0 / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005371, allocations: 0 / 329.5 MB, free: 3.559 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.0003468/0.005718, allocations: 333.4 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.005747, allocations: 8.031 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.005777, allocations: 16.94 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.006005, allocations: 149.5 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.00602, allocations: 384 / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.006041, allocations: 8.375 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.914e-05/0.00614, allocations: 61.7 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006149, allocations: 192 / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.006155, allocations: 4.375 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006161, allocations: 3.938 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.443e-05/0.006185, allocations: 15.98 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.006376, allocations: 162 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.006463, allocations: 89.33 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.006482, allocations: 16.8 kB / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.006491, allocations: 0 / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.00657, allocations: 58.22 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006571, allocations: 0 / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002708/0.006841, allocations: 125.4 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.006869, allocations: 55.41 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006975, allocations: 193.1 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006987, allocations: 25.7 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.007017, allocations: 92.11 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007041, allocations: 27.78 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.007071, allocations: 25.7 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.007143, allocations: 330.8 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.00716, allocations: 10.83 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.007184, allocations: 29.62 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.007225, allocations: 40.53 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.007226, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.059e-05/0.007296, allocations: 68.44 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.007308, allocations: 11.88 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.007312, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007324, allocations: 4 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.007379, allocations: 19.98 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007384, allocations: 384 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.007409, allocations: 0 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007414, allocations: 4 kB / 331.5 MB, free: 1.426 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 7.165e-05/0.007486, allocations: 128.6 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.0075, allocations: 15.92 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.007732, allocations: 79.12 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007734, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007735, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007739, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.007939, allocations: 287.6 kB / 332 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.007942, allocations: 3.938 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.007969, allocations: 15.92 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.007972, allocations: 4 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.007979, allocations: 8.031 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.007981, allocations: 80 / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007983, allocations: 3.984 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.008079, allocations: 215 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.008092, allocations: 15.88 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.008108, allocations: 4 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.008147, allocations: 4 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.008171, allocations: 3.984 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.008182, allocations: 4 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.008232, allocations: 61.55 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008232, allocations: 4 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.008387, allocations: 27.94 kB / 332.3 MB, free: 496 kB / 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.001212/0.009599, allocations: 0.5651 MB / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.009687, allocations: 44.77 kB / 332.9 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.009691, allocations: 4 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.009719, allocations: 20.8 kB / 333 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.009896, allocations: 39.86 kB / 333 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.01023, allocations: 230.6 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.01028, allocations: 75.33 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.01032, allocations: 21.39 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.01039, allocations: 67.36 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01039, allocations: 0 / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of Templates: time 0.004045/0.01443, allocations: 2.015 MB / 335.4 MB, free: 13.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.0586709012277424]