Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001494/0.001494, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001787/0.001787, allocations: 161 kB / 24.56 MB, free: 16 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.9945/0.9945, allocations: 177.1 MB / 205 MB, free: 5.613 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.2637/0.2637, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.724e-05, allocations: 2.312 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002412/0.002439, allocations: 1.758 MB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.003722, allocations: 1.009 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.003796, allocations: 3.938 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.004094, allocations: 47.7 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.004427, allocations: 99.53 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.00463, allocations: 79.59 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.004801, allocations: 111.6 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.004888, allocations: 7.984 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.004976, allocations: 55.83 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.005049, allocations: 23.92 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.005066, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.00516, allocations: 51.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.005215, allocations: 23.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.005257, allocations: 15.94 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.005441, allocations: 107.5 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005444, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005446, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.005451, allocations: 0 / 381.5 MB, free: 15.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005112/0.005962, allocations: 443.9 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006002, allocations: 16.02 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.006052, allocations: 12.84 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.006235, allocations: 153.1 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.006254, allocations: 8.312 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.006275, allocations: 4.375 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.006404, allocations: 62.94 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.006416, allocations: 3.938 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.006425, allocations: 0 / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.006433, allocations: 3.984 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.006467, allocations: 11.98 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.0068, allocations: 291.8 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.006914, allocations: 55.11 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.006946, allocations: 23.62 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.006959, allocations: 0 / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.007069, allocations: 65.05 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.00707, allocations: 0 / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.007495, allocations: 157.4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.007532, allocations: 55.41 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.007669, allocations: 242.3 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.007683, allocations: 25.7 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.007738, allocations: 146.9 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.007766, allocations: 31.78 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.007801, allocations: 31.31 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.007918, allocations: 0.4962 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.007945, allocations: 11.98 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.007979, allocations: 35.36 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.008043, allocations: 51.38 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.008044, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.008155, allocations: 101.5 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.008172, allocations: 8 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008176, allocations: 4.031 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008189, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.008263, allocations: 12 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.00827, allocations: 7.938 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.008298, allocations: 3.984 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008304, allocations: 4 kB / 384.1 MB, free: 12.35 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 (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.606e-05/0.00838, allocations: 164.5 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.008396, allocations: 11.95 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.00854, allocations: 103.1 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.008544, allocations: 8 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008547, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00855, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.008845, allocations: 396.9 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.008848, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.008879, allocations: 11.98 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.008884, allocations: 4 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008892, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008894, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008895, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.009058, allocations: 259.5 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.009075, allocations: 15.91 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.009093, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.009137, allocations: 4.359 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.009173, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.009192, allocations: 15.92 kB / 385 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.009275, allocations: 176 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.009459, allocations: 23.94 kB / 385.2 MB, free: 11.09 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: 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.00099/0.01045, allocations: 447.5 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01058, allocations: 47.61 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01058, allocations: 4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.01062, allocations: 27.67 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01085, allocations: 34.48 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.0112, allocations: 221.9 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.01124, allocations: 67.34 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01128, allocations: 21.08 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01131, allocations: 16.5 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01131, allocations: 0 / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003964/0.01527, allocations: 2.007 MB / 388.1 MB, free: 8.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.2927032853476703]