Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001313/0.001313, 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.0009487/0.0009487, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9643/0.9643, allocations: 177 MB / 205.2 MB, free: 5.031 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.2662/0.2662, allocations: 34.87 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.028e-05, allocations: 2.312 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001955/0.001965, allocations: 1.715 MB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.00306, allocations: 1.006 MB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.003112, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.003321, allocations: 55.73 kB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.003554, allocations: 107.5 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.003699, allocations: 71.62 kB / 328.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.00398, allocations: 112.4 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.004012, allocations: 12.16 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.004088, allocations: 63.81 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.004155, allocations: 39.89 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.004166, allocations: 4 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.004221, allocations: 35.92 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.004256, allocations: 19.92 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.00428, allocations: 15.92 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004394, allocations: 91.61 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004396, allocations: 0 / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004397, allocations: 3.984 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.0044, allocations: 0 / 329.3 MB, free: 3.715 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.0002993/0.0047, allocations: 313.6 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.004725, allocations: 8.031 kB / 329.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.004751, allocations: 8.922 kB / 329.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004882, allocations: 150.3 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004894, allocations: 384 / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004905, allocations: 4.375 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.004989, allocations: 65.7 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004997, allocations: 4.188 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.005002, allocations: 384 / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005008, allocations: 3.938 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.005028, allocations: 11.98 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.507e-05/0.005103, allocations: 62.7 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.005172, allocations: 41.44 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.005188, allocations: 8.859 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.005196, allocations: 0 / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.005263, allocations: 66.16 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.005263, allocations: 0 / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.158e-05/0.005355, allocations: 53.67 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.005381, allocations: 59.41 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.005475, allocations: 185.2 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005488, allocations: 25.7 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.005519, allocations: 88.12 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.005546, allocations: 27.81 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.005569, allocations: 13.72 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.005638, allocations: 326.8 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.00565, allocations: 10.77 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.00567, allocations: 25.7 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.005703, allocations: 31.36 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005704, allocations: 4 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.368e-05/0.005758, allocations: 60.39 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.005767, allocations: 4 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005771, allocations: 4 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005781, allocations: 0 / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.382e-05/0.005825, allocations: 11.98 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.005827, allocations: 0 / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.005853, allocations: 11.94 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005856, allocations: 0 / 331 MB, free: 1.879 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 5.246e-05/0.005909, allocations: 124.6 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.00592, allocations: 8.297 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.005993, allocations: 66.83 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.005994, allocations: 4 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005996, allocations: 0 / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.006, allocations: 3.938 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.41e-05/0.006064, allocations: 81.86 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006065, allocations: 0 / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.006077, allocations: 7.984 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006079, allocations: 4 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.006084, allocations: 0 / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006084, allocations: 4 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006085, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.814e-05/0.006143, allocations: 90.64 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.006156, allocations: 15.91 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.006169, allocations: 4 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.006185, allocations: 0 / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.006206, allocations: 7.984 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.006213, allocations: 4 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.006253, allocations: 55.62 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006253, allocations: 0 / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000111/0.006364, allocations: 19.94 kB / 331.5 MB, free: 1.328 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.001001/0.007365, allocations: 0.4926 MB / 332 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.007439, allocations: 32.72 kB / 332 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.007442, allocations: 4 kB / 332 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.007465, allocations: 16.84 kB / 332 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.007577, allocations: 31.5 kB / 332.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.007828, allocations: 203.1 kB / 332.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.007858, allocations: 67.34 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.7e-05/0.007885, allocations: 20.47 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.007942, allocations: 59.38 kB / 332.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007943, allocations: 0 / 332.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of Templates: time 0.002935/0.01088, allocations: 1.759 MB / 334.2 MB, free: 14.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.9173287102021277]