Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009597/0.0009597, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001089/0.001089, allocations: 164.4 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.9985/0.9985, allocations: 177 MB / 205.2 MB, free: 5.055 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.2361/0.2361, allocations: 34.87 MB / 296.6 MB, free: 472 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.379e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.005506/0.005519, allocations: 1.717 MB / 327.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.006372, allocations: 0.5795 MB / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.006422, allocations: 0 / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.006933, allocations: 451.1 kB / 328.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.01035, allocations: 303.1 kB / 329 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.01073, allocations: 171.5 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.01095, allocations: 180.4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.01104, allocations: 28.12 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.01116, allocations: 123.8 kB / 329.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.01135, allocations: 195.6 kB / 329.7 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.01136, allocations: 8 kB / 329.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.01146, allocations: 51.92 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.01154, allocations: 83.7 kB / 329.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.01158, allocations: 43.73 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.01181, allocations: 211.1 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01182, allocations: 0 / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01182, allocations: 3.938 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.01182, allocations: 0 / 330 MB, free: 3.031 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006998/0.01252, allocations: 0.5501 MB / 330.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.01255, allocations: 8.031 kB / 330.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.01259, allocations: 36.91 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.01278, allocations: 246 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.01279, allocations: 384 / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.01281, allocations: 8.375 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.826e-05/0.0129, allocations: 66.88 kB / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.01291, allocations: 192 / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.01292, allocations: 8.297 kB / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.01292, allocations: 384 / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.01295, allocations: 17.7 kB / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.01321, allocations: 207 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.01628, allocations: 45.38 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.01629, allocations: 8.859 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.0163, allocations: 0 / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.01632, allocations: 30.56 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.01633, allocations: 0 / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004482/0.01677, allocations: 169.5 kB / 331.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.0168, allocations: 51.41 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.0172, allocations: 0.5244 MB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.01721, allocations: 33.69 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.01728, allocations: 145.3 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.0173, allocations: 23.8 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.01734, allocations: 29.69 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.01744, allocations: 354.7 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.01745, allocations: 7.984 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.01747, allocations: 8 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.01751, allocations: 27.67 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01751, allocations: 0 / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.815e-05/0.0176, allocations: 77.53 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.01761, allocations: 4 kB / 332.7 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01761, allocations: 4 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01762, allocations: 0 / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.01768, allocations: 15.98 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01769, allocations: 0 / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.01772, allocations: 7.953 kB / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01773, allocations: 4.312 kB / 332.7 MB, free: 172 kB / 298.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 (8): * Single equations (assignments): 8 * 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 7.319e-05/0.0178, allocations: 120.6 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.01784, allocations: 23.92 kB / 332.9 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.01798, allocations: 105.5 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01799, allocations: 4 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.01799, allocations: 0 / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01799, allocations: 3.984 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.01831, allocations: 315.3 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01831, allocations: 4 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.01836, allocations: 16 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01836, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.01836, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01836, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01837, allocations: 4 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.01848, allocations: 184.2 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.01851, allocations: 35.72 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01853, allocations: 4 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.01859, allocations: 4.422 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.01861, allocations: 7.984 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.01862, allocations: 0 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.01885, allocations: 283.2 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01885, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01907, allocations: 27.98 kB / 333.8 MB, free: 14.98 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.004345/0.02341, allocations: 0.567 MB / 334.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.02349, allocations: 40.75 kB / 334.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.0235, allocations: 4 kB / 334.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.02353, allocations: 24.8 kB / 334.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.02375, allocations: 25.95 kB / 334.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.02441, allocations: 0.606 MB / 335.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.0245, allocations: 123.2 kB / 335.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.02454, allocations: 8.734 kB / 335.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.0246, allocations: 67.36 kB / 335.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02461, allocations: 4 kB / 335.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.01105/0.03565, allocations: 1.751 MB / 337.1 MB, free: 12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.9455108172260225]