Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.0009939/0.0009939, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001057/0.001057, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9585/0.9585, allocations: 177 MB / 205.1 MB, free: 5.477 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.2412/0.2412, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.404e-05, allocations: 8.641 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002576/0.00261, allocations: 1.696 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.003364, allocations: 0.5484 MB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.003415, allocations: 0 / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.003855, allocations: 447.1 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.004217, allocations: 291.2 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.004457, allocations: 139.5 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.00463, allocations: 171.6 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.004709, allocations: 7.859 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004826, allocations: 123.8 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005011, allocations: 239.5 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.005027, allocations: 8 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.005103, allocations: 35.92 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.005186, allocations: 87.7 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.005214, allocations: 31.75 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.005422, allocations: 191.2 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005425, allocations: 3.938 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.005427, allocations: 7.938 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005432, allocations: 0 / 383.2 MB, free: 13.82 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.0004977/0.00593, allocations: 0.6931 MB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.005965, allocations: 12.03 kB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.006009, allocations: 48.66 kB / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.006173, allocations: 248.8 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.00618, allocations: 384 / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.006197, allocations: 8.375 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.006281, allocations: 50.95 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006289, allocations: 192 / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.006296, allocations: 8.312 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.006301, allocations: 384 / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.006322, allocations: 15.92 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.006596, allocations: 332.2 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.006733, allocations: 50.98 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.006748, allocations: 11.69 kB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.006771, allocations: 0 / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.006794, allocations: 37.39 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.006795, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000275/0.00707, allocations: 129.3 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.007092, allocations: 51.41 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.007433, allocations: 0.6079 MB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.007443, allocations: 25.7 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.007597, allocations: 294.7 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.007622, allocations: 23.83 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.007653, allocations: 27.36 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.007813, allocations: 0.5469 MB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.007826, allocations: 7.984 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.007839, allocations: 8.062 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.007869, allocations: 27.56 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.00787, allocations: 0 / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.193e-05/0.007952, allocations: 93.34 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.007963, allocations: 4 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007968, allocations: 4 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007979, allocations: 0 / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.008019, allocations: 15.98 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.008022, allocations: 0 / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.008047, allocations: 8 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.008051, allocations: 0 / 386.6 MB, free: 10.25 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 (5): * Single equations (assignments): 5 * 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.881e-05/0.008119, allocations: 156.6 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.008154, allocations: 51.61 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.008272, allocations: 93.17 kB / 386.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.008275, allocations: 4 kB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008277, allocations: 0 / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.008281, allocations: 7.984 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.008548, allocations: 381.9 kB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.00855, allocations: 3.938 kB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.00858, allocations: 12.3 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008581, allocations: 0 / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.008586, allocations: 4 kB / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008587, allocations: 0 / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008588, allocations: 4 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.008694, allocations: 231.7 kB / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.008719, allocations: 39.66 kB / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.008732, allocations: 0 / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.008773, allocations: 15.98 kB / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.008791, allocations: 0 / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008794, allocations: 0 / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.008987, allocations: 398.6 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008988, allocations: 0 / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.009147, allocations: 19.94 kB / 388 MB, free: 8.789 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 (5): * Single equations (assignments): 5 * 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.0007609/0.009908, allocations: 387.8 kB / 388.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.009974, allocations: 23.67 kB / 388.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009976, allocations: 0 / 388.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.887e-05/0.009994, allocations: 23.61 kB / 388.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01022, allocations: 29.84 kB / 388.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.01076, allocations: 0.5744 MB / 389 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.01083, allocations: 123.2 kB / 389.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.01086, allocations: 11.98 kB / 389.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.01091, allocations: 78.19 kB / 389.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01091, allocations: 0 / 389.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003524/0.01443, allocations: 1.484 MB / 390.7 MB, free: 6.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.978777789976448]