Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001206/0.001206, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00103/0.00103, allocations: 165 kB / 24.99 MB, free: 8.801 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.9811/0.9811, allocations: 177 MB / 205.2 MB, free: 5.586 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.2448/0.2448, allocations: 34.86 MB / 296.6 MB, free: 0.5703 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.66e-05, allocations: 6.25 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002036/0.002053, allocations: 1.694 MB / 380.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.002726, allocations: 0.5369 MB / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.002783, allocations: 4 kB / 381 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.003211, allocations: 462.9 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.003563, allocations: 291.3 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.003785, allocations: 123.5 kB / 381.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.003967, allocations: 175.6 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.004054, allocations: 19.83 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.004164, allocations: 115.8 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.004357, allocations: 239.6 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004372, allocations: 4 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.00444, allocations: 35.92 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.004522, allocations: 79.72 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.004558, allocations: 47.72 kB / 382.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.00476, allocations: 203.1 kB / 382.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004763, allocations: 0 / 382.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004763, allocations: 0 / 382.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004768, allocations: 0 / 382.8 MB, free: 14.39 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.0005232/0.005291, allocations: 0.6893 MB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.005326, allocations: 8.031 kB / 383.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.005381, allocations: 48.66 kB / 383.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.005581, allocations: 248.8 kB / 383.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.005592, allocations: 384 / 383.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.005612, allocations: 4.375 kB / 383.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.005729, allocations: 58.95 kB / 383.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005739, allocations: 192 / 383.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005749, allocations: 4.359 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.005757, allocations: 4.375 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.005789, allocations: 11.92 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.006161, allocations: 431.5 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.006303, allocations: 43.05 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.006324, allocations: 15.69 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.006341, allocations: 0 / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.006362, allocations: 41.27 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.006362, allocations: 8 kB / 384.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003416/0.006704, allocations: 180.9 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.006739, allocations: 55.39 kB / 384.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.007137, allocations: 0.6277 MB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.007148, allocations: 25.7 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.00729, allocations: 286.8 kB / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.00731, allocations: 15.78 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.00734, allocations: 31.36 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.007493, allocations: 0.547 MB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.007511, allocations: 7.984 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.007525, allocations: 12 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.007558, allocations: 19.69 kB / 386.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.007559, allocations: 0 / 386.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.06e-05/0.00765, allocations: 97.34 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.007662, allocations: 6.656 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.007665, allocations: 0 / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007678, allocations: 288 / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.007718, allocations: 19.92 kB / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007723, allocations: 0 / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.007747, allocations: 256 / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.007753, allocations: 8 kB / 386.3 MB, free: 10.65 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 7.138e-05/0.007824, allocations: 156.6 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.007859, allocations: 51.64 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.007984, allocations: 97.19 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007986, allocations: 4 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.007989, allocations: 0 / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.007994, allocations: 3.984 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.008322, allocations: 469.3 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008323, allocations: 0 / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.00835, allocations: 8 kB / 387.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008352, allocations: 4 kB / 387.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.008359, allocations: 4 kB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.00836, allocations: 0 / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.008363, allocations: 3.984 kB / 387.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.008487, allocations: 247.5 kB / 387.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.008509, allocations: 35.66 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008526, allocations: 4 kB / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.008567, allocations: 4 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.008595, allocations: 7.984 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.008598, allocations: 0 / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.008845, allocations: 426.8 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008845, allocations: 0 / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.009014, allocations: 31.92 kB / 387.8 MB, free: 9.043 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.0007352/0.00975, allocations: 375.7 kB / 388.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.009837, allocations: 35.62 kB / 388.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.009838, allocations: 0 / 388.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.009861, allocations: 23.67 kB / 388.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01009, allocations: 25.89 kB / 388.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.01066, allocations: 0.5705 MB / 388.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.655e-05/0.01073, allocations: 119.2 kB / 388.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.01075, allocations: 7.984 kB / 388.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.01078, allocations: 20.48 kB / 389 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01078, allocations: 0 / 389 MB, free: 7.926 MB / 362.7 MB Notification: Performance of Templates: time 0.003647/0.01443, allocations: 1.378 MB / 390.3 MB, free: 6.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.0018937040586025]