Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.0008967/0.0008967, 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.000937/0.000937, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.9437/0.9437, allocations: 177 MB / 205.2 MB, free: 5.051 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.2378/0.2378, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.664e-05, allocations: 3.297 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00206/0.002077, allocations: 1.767 MB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003312, allocations: 1.006 MB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.00337, allocations: 0 / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.003597, allocations: 47.7 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.003839, allocations: 95.47 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.003975, allocations: 83.59 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.0041, allocations: 104.5 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.808e-05/0.004168, allocations: 11.97 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.004243, allocations: 59.77 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.004305, allocations: 23.91 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.004318, allocations: 4 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.004387, allocations: 51.91 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.004427, allocations: 19.92 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.004455, allocations: 19.88 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004594, allocations: 99.66 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004595, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004596, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.004599, allocations: 0 / 329.4 MB, free: 3.672 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.0003345/0.004933, allocations: 321.5 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.004962, allocations: 12.03 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.00499, allocations: 16.92 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005124, allocations: 150.3 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005137, allocations: 384 / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.005156, allocations: 8.375 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.005259, allocations: 61.7 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005267, allocations: 192 / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.005274, allocations: 4.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00528, allocations: 3.938 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.005304, allocations: 19.91 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.005485, allocations: 165.9 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.005566, allocations: 77.3 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005585, allocations: 20.92 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.005595, allocations: 0 / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/0.005682, allocations: 66.14 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.005683, allocations: 0 / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002612/0.005944, allocations: 117.5 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.005973, allocations: 51.41 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006073, allocations: 181.2 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.006087, allocations: 33.7 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.006115, allocations: 92.12 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.006138, allocations: 27.78 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.006165, allocations: 25.7 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.006235, allocations: 326.8 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.006249, allocations: 10.81 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.00627, allocations: 21.72 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.006317, allocations: 52.44 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.006318, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.407e-05/0.006412, allocations: 64.5 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006425, allocations: 11.94 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006429, allocations: 4.031 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006442, allocations: 3.938 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.006514, allocations: 12.38 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.006517, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.006561, allocations: 11.98 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006569, allocations: 4 kB / 331.3 MB, free: 1.555 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.837e-05/0.006637, allocations: 112.7 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.006653, allocations: 19.92 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.006749, allocations: 71.08 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006751, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006752, allocations: 4 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.006755, allocations: 3.938 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.006953, allocations: 299.4 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.006956, allocations: 3.938 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.006979, allocations: 8 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006982, allocations: 4 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.006988, allocations: 0 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006989, allocations: 240 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00699, allocations: 0 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.331e-05/0.007083, allocations: 227.8 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007094, allocations: 11.89 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.007108, allocations: 0 / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.007145, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.007167, allocations: 7.984 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.007177, allocations: 7.938 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.007217, allocations: 51.64 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007217, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.007352, allocations: 23.94 kB / 332.2 MB, free: 0.6406 MB / 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.001325/0.008677, allocations: 0.5658 MB / 332.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.008758, allocations: 44.78 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.008761, allocations: 0 / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.008787, allocations: 20.86 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.008945, allocations: 36.03 kB / 332.8 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.009216, allocations: 220 kB / 333 MB, free: 0 / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.00926, allocations: 67.33 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.194e-05/0.009292, allocations: 13.28 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.00935, allocations: 71.36 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009351, allocations: 0 / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Templates: time 0.003237/0.01259, allocations: 2.021 MB / 335.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.8983260169625282]