Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 116.1 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 79.55 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 62.44 MB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003069/0.1487, allocations: 1.676 MB / 481.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009781/0.1497, allocations: 0.534 MB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.1497, allocations: 0 / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1501, allocations: 79.83 kB / 481.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1504, allocations: 91.73 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1507, allocations: 99.44 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1509, allocations: 79.81 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.151, allocations: 23.98 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.1511, allocations: 43.83 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1512, allocations: 55.81 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1512, allocations: 7.938 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.1513, allocations: 40 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.1514, allocations: 19.92 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1514, allocations: 43.66 kB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1516, allocations: 95.72 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1516, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.961e-06/0.1516, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1517, allocations: 7.938 kB / 482.4 MB, free: 2.676 MB / 350.1 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.0005448/0.1522, allocations: 419.2 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1522, allocations: 8.031 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1523, allocations: 8.844 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1525, allocations: 198.7 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1526, allocations: 384 / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1526, allocations: 4.375 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1528, allocations: 61.73 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1528, allocations: 8 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1528, allocations: 0 / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1528, allocations: 0 / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.1529, allocations: 27.97 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1534, allocations: 308.7 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1535, allocations: 50.48 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1536, allocations: 16.86 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1536, allocations: 0 / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1536, allocations: 38.64 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1536, allocations: 0 / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009112/0.1545, allocations: 241.4 kB / 483.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1546, allocations: 51.41 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1548, allocations: 214.8 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1548, allocations: 29.64 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.1549, allocations: 104.1 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1549, allocations: 31.55 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.155, allocations: 21.8 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1551, allocations: 326.8 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.1552, allocations: 31.91 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.1553, allocations: 35.97 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1554, allocations: 72.81 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1554, allocations: 0 / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002018/0.1556, allocations: 113.6 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1557, allocations: 4 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1557, allocations: 4 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1557, allocations: 0 / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.1558, allocations: 23.92 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1558, allocations: 3.938 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.1559, allocations: 7.938 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1559, allocations: 3.984 kB / 484.8 MB, free: 32 kB / 350.1 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 0.0001175/0.156, allocations: 137.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.156, allocations: 11.81 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1563, allocations: 131 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1563, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1563, allocations: 4 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1564, allocations: 3.938 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.1569, allocations: 423.7 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1569, allocations: 3.938 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.1569, allocations: 15.98 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.157, allocations: 7.938 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.157, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.157, allocations: 80 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.157, allocations: 3.984 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1573, allocations: 224.2 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.1573, allocations: 84.95 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1573, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1574, allocations: 15.92 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1575, allocations: 0 / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1575, allocations: 11.94 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1576, allocations: 164.7 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1579, allocations: 27.98 kB / 486 MB, free: 14.67 MB / 366.1 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.00103/0.1589, allocations: 450.7 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1592, allocations: 75.89 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1592, allocations: 0 / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1593, allocations: 39.97 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1596, allocations: 12 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.1601, allocations: 310.9 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1604, allocations: 0.7118 MB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1605, allocations: 24.94 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.1606, allocations: 19.44 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1606, allocations: 0 / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of Templates: time 0.004091/0.1647, allocations: 1.373 MB / 489 MB, free: 11.78 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches