Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009856/0.0009856, allocations: 88.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.00102/0.00102, allocations: 160.6 kB / 24.91 MB, free: 8.727 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.9781/0.9781, allocations: 177 MB / 205.2 MB, free: 5.469 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.2861/0.2861, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 4 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.952e-05, allocations: 3.672 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003062/0.003092, allocations: 1.722 MB / 327.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004405, allocations: 0.9978 MB / 328.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.004475, allocations: 4 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.004757, allocations: 47.75 kB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.005061, allocations: 111.4 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.00523, allocations: 67.69 kB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.005386, allocations: 115.5 kB / 329 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.005427, allocations: 8.219 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.005519, allocations: 43.91 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.005594, allocations: 27.91 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005608, allocations: 4 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.005674, allocations: 35.92 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.005718, allocations: 23.92 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.005752, allocations: 27.84 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.005897, allocations: 107.5 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.0059, allocations: 0 / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005901, allocations: 4 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.005905, allocations: 0 / 329.3 MB, free: 3.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003633/0.006268, allocations: 337.5 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.006303, allocations: 8.031 kB / 329.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.006335, allocations: 8.922 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.006487, allocations: 166.4 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.006501, allocations: 384 / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.006512, allocations: 4.375 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.352e-05/0.006606, allocations: 57.7 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.006613, allocations: 4.188 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.006619, allocations: 4.375 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.006625, allocations: 3.938 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.006647, allocations: 11.98 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.173e-05/0.006729, allocations: 66.7 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.006805, allocations: 37.44 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.006823, allocations: 12.84 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.006835, allocations: 4 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.684e-05/0.006912, allocations: 58.16 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.006914, allocations: 4 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001147/0.007029, allocations: 61.67 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.00706, allocations: 51.41 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007186, allocations: 219.9 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.007201, allocations: 29.7 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.007236, allocations: 92.11 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.007266, allocations: 19.89 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.007295, allocations: 17.7 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.007383, allocations: 330.7 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.007399, allocations: 6.828 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.007423, allocations: 21.7 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.007463, allocations: 39.36 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007465, allocations: 0 / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.962e-05/0.007535, allocations: 60.44 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007546, allocations: 8 kB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.007552, allocations: 320 / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007563, allocations: 0 / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.007623, allocations: 15.98 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007627, allocations: 4 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.007659, allocations: 7.938 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.007663, allocations: 4.031 kB / 331.1 MB, free: 1.805 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 (7): * Single equations (assignments): 7 * 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.779e-05/0.007731, allocations: 120.6 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.007744, allocations: 15.92 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.007836, allocations: 70.77 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007838, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.00784, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.007844, allocations: 3.938 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.726e-05/0.007921, allocations: 89.84 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007922, allocations: 0 / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.007938, allocations: 4 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007939, allocations: 4 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.007944, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007945, allocations: 4 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007945, allocations: 0 / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.74e-05/0.008013, allocations: 94.62 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.008029, allocations: 15.89 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008042, allocations: 4 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.008061, allocations: 0 / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.008084, allocations: 11.98 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.008093, allocations: 0 / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.008153, allocations: 76.8 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008153, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001225/0.008275, allocations: 23.98 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001193/0.009468, allocations: 497.8 kB / 332.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.009547, allocations: 40.73 kB / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.009551, allocations: 0 / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.009577, allocations: 20.84 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.009703, allocations: 24.05 kB / 332.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.01003, allocations: 243.4 kB / 332.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.01007, allocations: 71.33 kB / 332.5 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.0101, allocations: 8.484 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.01016, allocations: 67.38 kB / 332.5 MB, free: 468 kB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01016, allocations: 3.938 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of Templates: time 0.003342/0.01351, allocations: 1.788 MB / 334.3 MB, free: 14.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.9585748719982803]