Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009474/0.0009474, 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.001023/0.001023, 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 1.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.016 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.2598/0.2598, allocations: 34.86 MB / 296.6 MB, free: 456 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.04e-05, allocations: 5.125 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001833/0.001844, allocations: 1.716 MB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002895, allocations: 1.002 MB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.002944, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.00315, allocations: 47.81 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.003352, allocations: 107.4 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.003461, allocations: 75.67 kB / 328.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003581, allocations: 112.3 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.003612, allocations: 4.219 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.003684, allocations: 47.91 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.003747, allocations: 31.84 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.003758, allocations: 4 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.003809, allocations: 27.98 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.003851, allocations: 27.92 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.003884, allocations: 23.86 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004021, allocations: 103.5 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004024, allocations: 8 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004024, allocations: 0 / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.004027, allocations: 0 / 329.3 MB, free: 3.727 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.0003328/0.00436, allocations: 337.4 kB / 329.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.004386, allocations: 12.03 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.004409, allocations: 4.938 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.004554, allocations: 166.4 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.004567, allocations: 384 / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.004575, allocations: 384 / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.004654, allocations: 61.7 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.004661, allocations: 8.188 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004672, allocations: 384 / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.004678, allocations: 7.938 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.004698, allocations: 7.984 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.67e-05/0.004775, allocations: 70.69 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.004846, allocations: 41.44 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.004865, allocations: 8.859 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.004876, allocations: 0 / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/0.004952, allocations: 66.14 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 5.91e-07/0.004953, allocations: 4 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001319/0.005085, allocations: 61.67 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.005109, allocations: 51.41 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.00522, allocations: 219.9 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.00523, allocations: 25.7 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.005255, allocations: 100 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.005277, allocations: 19.89 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.005299, allocations: 13.72 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.00537, allocations: 330.8 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.005381, allocations: 6.828 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.005398, allocations: 21.72 kB / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.005435, allocations: 39.34 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005436, allocations: 0 / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001069/0.005543, allocations: 60.44 kB / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.005552, allocations: 8 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.005555, allocations: 0 / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.005565, allocations: 0 / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.005608, allocations: 11.98 kB / 331 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.00561, allocations: 3.938 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.005637, allocations: 15.97 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.005641, allocations: 0 / 331.1 MB, free: 1.793 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.205e-05/0.005693, allocations: 116.6 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.005703, allocations: 12.3 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.005775, allocations: 70.77 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005778, allocations: 4 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005779, allocations: 0 / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005783, allocations: 3.938 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.568e-05/0.005849, allocations: 89.84 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.00585, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.005862, allocations: 8 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005863, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-06/0.005867, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005867, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-07/0.005868, allocations: 7.938 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.573e-05/0.005923, allocations: 86.7 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.005937, allocations: 15.91 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.005951, allocations: 7.984 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.005967, allocations: 0 / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.005985, allocations: 8 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.005993, allocations: 3.984 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.13e-05/0.006044, allocations: 80.78 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006044, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001064/0.00615, allocations: 16 kB / 331.6 MB, free: 1.215 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.0009907/0.007141, allocations: 0.4931 MB / 332.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.264e-05/0.007204, allocations: 36.73 kB / 332.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007206, allocations: 0 / 332.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.007227, allocations: 16.84 kB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.007334, allocations: 32.3 kB / 332.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.007605, allocations: 243.3 kB / 332.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.007635, allocations: 67.33 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.721e-05/0.007662, allocations: 16.48 kB / 332.5 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.007714, allocations: 67.38 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007715, allocations: 0 / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of Templates: time 0.003077/0.01079, allocations: 1.79 MB / 334.3 MB, free: 14.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.859460956417024]