Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001225/0.001225, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.004338/0.004338, allocations: 170 kB / 24.82 MB, free: 9.254 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.9638/0.9638, allocations: 177 MB / 205.1 MB, free: 5.488 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.2726/0.2726, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.334e-05, allocations: 7.656 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003214/0.003238, allocations: 1.754 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.004932, allocations: 1.007 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.005013, allocations: 3.938 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.005308, allocations: 43.75 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.005644, allocations: 99.47 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.005863, allocations: 71.69 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.006043, allocations: 115.5 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.006137, allocations: 8 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.006258, allocations: 59.81 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.006343, allocations: 23.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.006362, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.006468, allocations: 47.86 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.006522, allocations: 23.91 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.006567, allocations: 19.92 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.006772, allocations: 103.6 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006775, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.006778, allocations: 4 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.006782, allocations: 0 / 382.7 MB, free: 14.35 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.0004978/0.00728, allocations: 451.8 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.00732, allocations: 16.03 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.007369, allocations: 12.89 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.007552, allocations: 156.8 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.00757, allocations: 4.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.007588, allocations: 4.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.007715, allocations: 54.94 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007725, allocations: 192 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.007734, allocations: 4.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.00774, allocations: 3.938 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.007774, allocations: 11.98 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.008088, allocations: 264.4 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.008194, allocations: 55.09 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.008221, allocations: 11.69 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.008239, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.008345, allocations: 61.05 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.008347, allocations: 0 / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00039/0.008737, allocations: 153.3 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.008772, allocations: 59.33 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.008936, allocations: 229.8 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.008955, allocations: 33.7 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.009029, allocations: 150.9 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.009066, allocations: 27.78 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.009111, allocations: 31.36 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.009265, allocations: 0.5001 MB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.009291, allocations: 8 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.009329, allocations: 31.3 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.009392, allocations: 47.3 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.009394, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001351/0.009529, allocations: 93.52 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.009545, allocations: 8 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00955, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.009562, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.009642, allocations: 15.94 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.009646, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.009689, allocations: 7.984 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.009697, allocations: 4 kB / 385.2 MB, free: 11.65 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 9.21e-05/0.009789, allocations: 160.6 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.009817, allocations: 19.88 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.01, allocations: 103.1 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01001, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01001, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01001, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.0104, allocations: 365.6 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0104, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.01044, allocations: 8 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01044, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01045, allocations: 8 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01045, allocations: 7.969 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01046, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.01066, allocations: 259.4 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.868e-05/0.01068, allocations: 7.953 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.0107, allocations: 3.984 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.01077, allocations: 8 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.0108, allocations: 7.922 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01082, allocations: 4.375 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.01092, allocations: 172.2 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01092, allocations: 0 / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01121, allocations: 31.92 kB / 386.3 MB, free: 10.43 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.0013/0.01251, allocations: 430.7 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01263, allocations: 47.59 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01264, allocations: 4 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.01268, allocations: 27.61 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.01304, allocations: 43.8 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.01345, allocations: 218 kB / 387.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.0135, allocations: 75.33 kB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.01356, allocations: 17.27 kB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.01365, allocations: 90.19 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01365, allocations: 0 / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.004153/0.0178, allocations: 2.035 MB / 389.3 MB, free: 7.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.9407374877482653]