Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001019/0.001019, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.0009496/0.0009496, allocations: 164.5 kB / 24.56 MB, free: 36 kB / 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.9984/0.9984, allocations: 177 MB / 204.8 MB, free: 5.613 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.2913/0.2913, allocations: 34.86 MB / 296.3 MB, free: 500 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.705e-05, allocations: 2.312 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002312/0.002339, allocations: 1.713 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003579, allocations: 0.9969 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.003653, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.003971, allocations: 67.61 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.004322, allocations: 111.5 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.004522, allocations: 79.61 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.004711, allocations: 107.6 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.004761, allocations: 4.234 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004864, allocations: 59.81 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.004982, allocations: 47.88 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.005, allocations: 7.938 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.005083, allocations: 35.92 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.005138, allocations: 19.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.00518, allocations: 15.94 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005353, allocations: 87.66 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005356, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005357, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005362, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.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.0004995/0.005861, allocations: 432 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.005902, allocations: 23.91 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.005949, allocations: 12.84 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.006112, allocations: 153.1 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.00613, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.006141, allocations: 4.359 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006252, allocations: 54.94 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.00626, allocations: 192 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006273, allocations: 8.359 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006281, allocations: 3.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.764e-05/0.006308, allocations: 8 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.006444, allocations: 136.7 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.006547, allocations: 55.05 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.006576, allocations: 23.67 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.006587, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.188e-05/0.006678, allocations: 65.05 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.006679, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001779/0.006857, allocations: 81.53 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.006889, allocations: 63.33 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.007014, allocations: 230.4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007026, allocations: 29.7 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.007075, allocations: 150.9 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.007101, allocations: 19.84 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.007135, allocations: 27.36 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.007249, allocations: 0.4923 MB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.007268, allocations: 8 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.007296, allocations: 31.36 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.00734, allocations: 39.31 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007342, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.633e-05/0.007418, allocations: 73.58 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.007429, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007433, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.007446, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.007504, allocations: 19.92 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.007508, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.007537, allocations: 7.953 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007541, allocations: 3.938 kB / 384.4 MB, free: 12.18 MB / 362.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 6.627e-05/0.007608, allocations: 160.6 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.007619, allocations: 7.953 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.007729, allocations: 91.17 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.007732, allocations: 3.984 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.007737, allocations: 3.938 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007741, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.766e-05/0.007828, allocations: 148.6 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.00783, allocations: 4 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.007844, allocations: 4 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007845, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.007851, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007852, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007852, allocations: 4 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.007943, allocations: 124.3 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.007956, allocations: 11.89 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.00797, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.007989, allocations: 7.984 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.00802, allocations: 7.922 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.008032, allocations: 8 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.008105, allocations: 167.1 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008105, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.008245, allocations: 23.94 kB / 385.2 MB, free: 11.34 MB / 362.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.0008332/0.009079, allocations: 369.6 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.803e-05/0.009177, allocations: 39.61 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.009178, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.009209, allocations: 35.72 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.009373, allocations: 19.98 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.009671, allocations: 198.1 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.009704, allocations: 63.34 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.009735, allocations: 20.66 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.009763, allocations: 16.5 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009764, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Templates: time 0.003296/0.01306, allocations: 1.766 MB / 387.7 MB, free: 8.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.204554303083569]