Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001048/0.001048, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001072/0.001072, allocations: 160.5 kB / 24.55 MB, free: 16 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.9624/0.9624, allocations: 177 MB / 204.8 MB, free: 5.562 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.2755/0.2755, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.128e-05, allocations: 3.016 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002353/0.002384, allocations: 1.707 MB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003567, allocations: 1.316 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.003625, allocations: 4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.003847, allocations: 27.78 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.004103, allocations: 87.55 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.004376, allocations: 171.5 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.004508, allocations: 79.75 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.004597, allocations: 15.98 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.004662, allocations: 43.89 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.004752, allocations: 19.92 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004769, allocations: 12 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.004889, allocations: 91.81 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.004943, allocations: 23.91 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.004973, allocations: 23.92 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.005169, allocations: 143.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005172, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005173, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.005177, allocations: 0 / 382.5 MB, free: 14.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003952/0.005572, allocations: 432 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.005611, allocations: 8.031 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.005656, allocations: 20.88 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.005793, allocations: 140.5 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005802, allocations: 4.375 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.005825, allocations: 384 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.005969, allocations: 115.9 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005977, allocations: 192 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.005988, allocations: 8.359 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.005996, allocations: 4.375 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.006029, allocations: 7.938 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.006324, allocations: 291.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.006392, allocations: 46.98 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.006416, allocations: 15.69 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.006437, allocations: 8 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.006459, allocations: 41.41 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.00646, allocations: 0 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003734/0.006833, allocations: 125.3 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.006865, allocations: 81.11 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.006971, allocations: 197.9 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.006982, allocations: 25.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.007025, allocations: 142.9 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.007048, allocations: 31.73 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.007078, allocations: 27.38 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.007175, allocations: 0.4884 MB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.007197, allocations: 8 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.007236, allocations: 61.08 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.00728, allocations: 35.67 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007281, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.549e-05/0.007366, allocations: 69.58 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.00738, allocations: 6.344 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007385, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.007403, allocations: 8.016 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.007483, allocations: 16 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007487, allocations: 3.938 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.007517, allocations: 11.98 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007523, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.922e-05/0.007582, allocations: 156.6 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.007607, allocations: 15.89 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.007727, allocations: 82.73 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007729, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007733, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007736, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.007969, allocations: 341.3 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00797, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.00801, allocations: 15.98 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.008013, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.00802, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.008024, allocations: 7.984 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008024, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.008141, allocations: 227.7 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.008151, allocations: 11.95 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.008164, allocations: 4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.008202, allocations: 7.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.008236, allocations: 4 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.00824, allocations: 3.984 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.008295, allocations: 147.2 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008295, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.008479, allocations: 43.86 kB / 386 MB, free: 10.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009431/0.009422, allocations: 477.9 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.009538, allocations: 47.59 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.00954, allocations: 4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.009568, allocations: 23.67 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.00977, allocations: 30.84 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.01015, allocations: 204.8 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.0102, allocations: 67.28 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.01026, allocations: 32.94 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01031, allocations: 20.48 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01031, allocations: 0 / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of Templates: time 0.003874/0.01419, allocations: 1.998 MB / 388.9 MB, free: 7.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.238661903887987]