Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001404/0.001404, allocations: 88.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.001589/0.001589, allocations: 161.1 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 1.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.465 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.2841/0.2841, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.837e-05/4.055e-05, allocations: 4.281 kB / 326.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002664/0.002705, allocations: 1.809 MB / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00394, allocations: 1.009 MB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.00402, allocations: 3.938 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.004309, allocations: 39.78 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.004541, allocations: 95.41 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.004686, allocations: 79.66 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.004838, allocations: 116.4 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.004926, allocations: 11.97 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.005015, allocations: 51.84 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.005086, allocations: 27.89 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.005102, allocations: 4 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.005179, allocations: 47.86 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.005221, allocations: 19.92 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.005255, allocations: 27.86 kB / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.005412, allocations: 95.66 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.005417, allocations: 4 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005418, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005422, allocations: 4 kB / 329.5 MB, free: 3.582 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.0003729/0.005795, allocations: 321.5 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005826, allocations: 12.03 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.005856, allocations: 8.922 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.006022, allocations: 157.9 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.006035, allocations: 384 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.006052, allocations: 4.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.006161, allocations: 65.75 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.00617, allocations: 192 / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.006177, allocations: 384 / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006182, allocations: 7.938 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.006205, allocations: 8 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.00641, allocations: 165.9 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.006498, allocations: 93.28 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.006526, allocations: 8.859 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.006536, allocations: 0 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-05/0.006626, allocations: 66.2 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006627, allocations: 0 / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.006917, allocations: 121.6 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.006944, allocations: 55.39 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.007043, allocations: 176.3 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007056, allocations: 25.7 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.007087, allocations: 100 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.00711, allocations: 23.8 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.007142, allocations: 29.69 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.007232, allocations: 322.8 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.00725, allocations: 10.95 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.007273, allocations: 33.69 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.007317, allocations: 44.52 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007319, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.642e-05/0.007395, allocations: 68.44 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007407, allocations: 7.938 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.007412, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007424, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.007489, allocations: 23.98 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007492, allocations: 0 / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.007519, allocations: 7.938 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.007524, allocations: 4 kB / 331.4 MB, free: 1.469 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.36e-05/0.007588, allocations: 127.2 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.007599, allocations: 11.88 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.007704, allocations: 83.06 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007706, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007707, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00771, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.007918, allocations: 291.6 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.00792, allocations: 3.938 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.007948, allocations: 11.98 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.007952, allocations: 8.031 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.007959, allocations: 4 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007961, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007962, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.32e-05/0.008055, allocations: 215 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.008068, allocations: 19.83 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008082, allocations: 4 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.008122, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.008148, allocations: 3.984 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.00816, allocations: 4 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.008202, allocations: 60.69 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008202, allocations: 0 / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.008341, allocations: 27.94 kB / 332.3 MB, free: 0.5352 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.001241/0.009582, allocations: 0.5592 MB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.00967, allocations: 40.78 kB / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.009673, allocations: 0 / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.009702, allocations: 24.8 kB / 332.9 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.009894, allocations: 31.91 kB / 332.9 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.01022, allocations: 227.9 kB / 333.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.0103, allocations: 71.33 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01033, allocations: 17.41 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.0104, allocations: 75.3 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0104, allocations: 0 / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Templates: time 0.00359/0.01399, allocations: 2.018 MB / 335.3 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.073389990720898]