Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001656/0.001656, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001667/0.001667, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.077/1.077, allocations: 177 MB / 205.2 MB, free: 5.047 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.2722/0.2722, allocations: 34.86 MB / 296.6 MB, free: 480 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.17e-05, allocations: 3.406 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003018/0.00304, allocations: 1.816 MB / 327.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004244, allocations: 1.006 MB / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.004306, allocations: 0 / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.004563, allocations: 39.77 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.004791, allocations: 95.42 kB / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.004934, allocations: 71.67 kB / 329.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.005082, allocations: 120.4 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.005162, allocations: 7.984 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.005245, allocations: 59.81 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.005313, allocations: 19.92 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.005326, allocations: 4 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.005401, allocations: 51.86 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.005441, allocations: 23.84 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.00547, allocations: 15.94 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.005622, allocations: 95.66 kB / 329.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005625, allocations: 7.984 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005626, allocations: 4 kB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00563, allocations: 0 / 329.5 MB, free: 3.605 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.0004082/0.006039, allocations: 313.6 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.006068, allocations: 8.031 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.006096, allocations: 8.922 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.006238, allocations: 145.5 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.006252, allocations: 8.312 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.006269, allocations: 4.375 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.006367, allocations: 61.77 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006377, allocations: 192 / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.006384, allocations: 8.359 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006391, allocations: 7.938 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.006412, allocations: 4 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.006601, allocations: 169.8 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.006687, allocations: 89.34 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.006705, allocations: 8.859 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.006714, allocations: 0 / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.814e-05/0.006792, allocations: 62.2 kB / 330.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.006793, allocations: 0 / 330.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002958/0.007089, allocations: 121.5 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.007117, allocations: 51.41 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.007213, allocations: 169.7 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007229, allocations: 33.69 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.007255, allocations: 88.12 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.007281, allocations: 31.72 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.007311, allocations: 25.66 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.007386, allocations: 326.8 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.007402, allocations: 10.81 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.007425, allocations: 21.72 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.007465, allocations: 44.89 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007466, allocations: 0 / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.238e-05/0.007538, allocations: 68.44 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007551, allocations: 13.19 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.007563, allocations: 11.97 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007576, allocations: 0 / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.007635, allocations: 12 kB / 331.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007639, allocations: 7.938 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.007665, allocations: 4 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.007675, allocations: 16.02 kB / 331.4 MB, free: 1.512 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 5.966e-05/0.007734, allocations: 108.7 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.007748, allocations: 15.94 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513e-05/0.007843, allocations: 75.06 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007844, allocations: 3.938 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.007846, allocations: 0 / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.00785, allocations: 4 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.008053, allocations: 291.6 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.008055, allocations: 3.938 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.008082, allocations: 16.02 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008085, allocations: 4 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.00809, allocations: 0 / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008092, allocations: 0 / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.008093, allocations: 0 / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.663e-05/0.008189, allocations: 215.1 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.008203, allocations: 19.83 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.008217, allocations: 0 / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.008255, allocations: 4 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.008279, allocations: 7.984 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.008291, allocations: 8 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.00833, allocations: 52.55 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00833, allocations: 0 / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.008472, allocations: 27.94 kB / 332.2 MB, free: 0.6016 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.001286/0.009759, allocations: 0.5655 MB / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.241e-05/0.009841, allocations: 32.84 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.009845, allocations: 4 kB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.009875, allocations: 28.78 kB / 332.9 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.01005, allocations: 32.41 kB / 332.9 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.01034, allocations: 220.2 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.01038, allocations: 63.34 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.01041, allocations: 25.33 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.01049, allocations: 71.36 kB / 333.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01049, allocations: 0 / 333.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003316/0.01381, allocations: 2.006 MB / 335.3 MB, free: 13.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.1612847819924355]