Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 108 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.001227/0.001227, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.48 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.143, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.004705/0.1477, allocations: 1.673 MB / 481.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1493, allocations: 0.5378 MB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1495, allocations: 4 kB / 481.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.15, allocations: 79.78 kB / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.1505, allocations: 87.77 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.151, allocations: 103.3 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1513, allocations: 79.81 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1514, allocations: 19.98 kB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1516, allocations: 39.84 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1517, allocations: 59.75 kB / 482.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1517, allocations: 4 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1519, allocations: 43.98 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.152, allocations: 19.92 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.1521, allocations: 35.73 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1523, allocations: 103.7 kB / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1524, allocations: 0 / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1524, allocations: 7.938 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1524, allocations: 0 / 482.4 MB, free: 2.727 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.0006281/0.153, allocations: 407.2 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1531, allocations: 12.03 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.1531, allocations: 8.844 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1534, allocations: 202.6 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1534, allocations: 384 / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1535, allocations: 8.375 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1537, allocations: 57.78 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1537, allocations: 4 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1537, allocations: 8 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1537, allocations: 0 / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1539, allocations: 27.97 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.1544, allocations: 312.6 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1546, allocations: 50.55 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.1546, allocations: 20.94 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1547, allocations: 0 / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1547, allocations: 30.56 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1547, allocations: 4 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001152/0.1559, allocations: 244.9 kB / 483.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.156, allocations: 51.41 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1562, allocations: 214.7 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1563, allocations: 25.7 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.1563, allocations: 108.1 kB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.1564, allocations: 35.61 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.1564, allocations: 21.72 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1566, allocations: 322.8 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1567, allocations: 31.97 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.1568, allocations: 27.98 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1571, allocations: 81.03 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1571, allocations: 0 / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002771/0.1574, allocations: 113.5 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1574, allocations: 4 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1574, allocations: 0 / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1574, allocations: 0 / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1576, allocations: 19.98 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1576, allocations: 0 / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.1576, allocations: 15.92 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1576, allocations: 0 / 484.8 MB, free: 84 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.000161/0.1578, allocations: 129.9 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.1579, allocations: 15.75 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1582, allocations: 138.9 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1582, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1583, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1583, allocations: 3.938 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.159, allocations: 423.3 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.159, allocations: 0 / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.1591, allocations: 15.98 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1591, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1591, allocations: 8 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.1591, allocations: 3.984 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1591, allocations: 4 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1595, allocations: 216.2 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1596, allocations: 88.95 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1596, allocations: 4 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1597, allocations: 3.984 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1598, allocations: 7.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1598, allocations: 12 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.16, allocations: 168.7 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.16, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1604, allocations: 20 kB / 486 MB, free: 14.73 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.00138/0.1618, allocations: 447.3 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1621, allocations: 79.88 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1621, allocations: 0 / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1622, allocations: 43.91 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1627, allocations: 26.86 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.1634, allocations: 302.9 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1638, allocations: 0.7196 MB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.422e-05/0.1639, allocations: 16.66 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.164, allocations: 15.44 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.164, allocations: 3.938 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.004619/0.1686, allocations: 1.358 MB / 489 MB, free: 11.85 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches