Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001004/0.001004, allocations: 84.86 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.001178/0.001178, allocations: 164.2 kB / 24.91 MB, free: 8.766 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 1.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.078 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.268/0.268, allocations: 34.86 MB / 296.6 MB, free: 396 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.639e-05, allocations: 5.406 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002326/0.002343, allocations: 1.759 MB / 327.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.003962, allocations: 1.734 MB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.004027, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.004303, allocations: 31.78 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.004627, allocations: 115.3 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.004774, allocations: 75.67 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.004935, allocations: 116.4 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.005028, allocations: 11.98 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.00512, allocations: 55.83 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005234, allocations: 35.84 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.005258, allocations: 4 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.005406, allocations: 107.7 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.005457, allocations: 23.92 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.005493, allocations: 19.92 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005717, allocations: 151.5 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.00572, allocations: 4 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005721, allocations: 3.938 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005725, allocations: 4 kB / 330.2 MB, free: 2.789 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.0004607/0.006186, allocations: 337.4 kB / 330.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.00623, allocations: 8.031 kB / 330.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.006266, allocations: 8.938 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.00643, allocations: 138.2 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006445, allocations: 384 / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.006468, allocations: 12.38 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.006595, allocations: 105.2 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006604, allocations: 7.875 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.006613, allocations: 8 kB / 330.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006618, allocations: 0 / 330.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.006645, allocations: 14.81 kB / 330.9 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.006839, allocations: 165.8 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/0.006934, allocations: 85.28 kB / 331.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.006955, allocations: 20.86 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.006964, allocations: 0 / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.802e-05/0.007042, allocations: 70.08 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.007043, allocations: 0 / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002857/0.007329, allocations: 113.6 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.007369, allocations: 77.11 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007473, allocations: 156.3 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.007491, allocations: 29.7 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.007529, allocations: 92.11 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.007558, allocations: 31.73 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.00759, allocations: 25.7 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.007666, allocations: 322.8 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.007682, allocations: 10.83 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.007716, allocations: 56.27 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.007755, allocations: 44.48 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007757, allocations: 0 / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.07e-05/0.007827, allocations: 76.38 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007838, allocations: 9.25 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007842, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007853, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.007908, allocations: 15.98 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.007911, allocations: 0 / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.00794, allocations: 4.375 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007945, allocations: 4.031 kB / 332.3 MB, free: 0.5703 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 6.405e-05/0.008009, allocations: 116.7 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008023, allocations: 15.92 kB / 332.4 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.008119, allocations: 78.39 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008122, allocations: 3.984 kB / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.008123, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008126, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.008345, allocations: 295.6 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008346, allocations: 0 / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.008369, allocations: 12.02 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00837, allocations: 7.938 kB / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.008376, allocations: 4 kB / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008378, allocations: 0 / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008379, allocations: 4.016 kB / 332.8 MB, free: 0 / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.00849, allocations: 217.7 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008501, allocations: 11.89 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.008518, allocations: 7.984 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.008556, allocations: 0 / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.008581, allocations: 11.98 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.008592, allocations: 4 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.008628, allocations: 41.08 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008628, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008794, allocations: 51.86 kB / 333.1 MB, free: 15.64 MB / 314.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.001449/0.01024, allocations: 0.6924 MB / 333.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.901e-05/0.01033, allocations: 44.78 kB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01033, allocations: 0 / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.01036, allocations: 24.8 kB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.01052, allocations: 41.36 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.01079, allocations: 200 kB / 334.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.01082, allocations: 67.28 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.01086, allocations: 17.09 kB / 334.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.01093, allocations: 71.36 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01094, allocations: 0 / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.004014/0.01495, allocations: 2.771 MB / 337 MB, free: 12.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.0833981041796505]