Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 76.06 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.143, allocations: 62.44 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003449/0.1465, allocations: 1.676 MB / 481 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1484, allocations: 1.144 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.1485, allocations: 0 / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1488, allocations: 15.92 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1491, allocations: 71.75 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1494, allocations: 83.84 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1495, allocations: 67.83 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1497, allocations: 16 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.1497, allocations: 31.84 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.15, allocations: 31.84 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1501, allocations: 4 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1502, allocations: 99.88 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.1503, allocations: 7.938 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.1503, allocations: 31.78 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.1507, allocations: 143.7 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1508, allocations: 4 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1508, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1508, allocations: 0 / 482.7 MB, free: 2.312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007505/0.1515, allocations: 411.4 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1516, allocations: 8.031 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1516, allocations: 12.78 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1519, allocations: 194.4 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1519, allocations: 4.375 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1519, allocations: 8.375 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1521, allocations: 79.5 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1521, allocations: 3.906 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1521, allocations: 0 / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1522, allocations: 0 / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1523, allocations: 31.97 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1527, allocations: 312.7 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1528, allocations: 46.56 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1529, allocations: 20.97 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1529, allocations: 0 / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.153, allocations: 38.56 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.153, allocations: 7.938 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006495/0.1536, allocations: 169.3 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.1537, allocations: 81.05 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1538, allocations: 153.8 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1539, allocations: 25.7 kB / 484.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1539, allocations: 100 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.154, allocations: 27.66 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.154, allocations: 21.7 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1541, allocations: 322.8 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.1542, allocations: 23.98 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1544, allocations: 45.84 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1545, allocations: 65.08 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1545, allocations: 4 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002011/0.1547, allocations: 97.42 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1548, allocations: 10.02 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1548, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1548, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1549, allocations: 19.98 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1549, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.155, allocations: 11.94 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.155, allocations: 4 kB / 485 MB, free: 15.76 MB / 366.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 8.973e-05/0.1551, allocations: 121.8 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1551, allocations: 15.8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1554, allocations: 110.3 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1554, allocations: 3.984 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1554, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1554, allocations: 7.938 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1559, allocations: 390.5 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.156, allocations: 7.922 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.156, allocations: 15.98 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.156, allocations: 3.938 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1561, allocations: 4.375 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1561, allocations: 0 / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1561, allocations: 4 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1563, allocations: 203.6 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1564, allocations: 85.02 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1564, allocations: 7.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1565, allocations: 7.984 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1565, allocations: 0 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1566, allocations: 8 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.1568, allocations: 123.2 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1568, allocations: 0 / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1571, allocations: 43.98 kB / 486.2 MB, free: 14.52 MB / 366.1 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 (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.001109/0.1582, allocations: 489.3 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1584, allocations: 63.95 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1584, allocations: 0 / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.1585, allocations: 43.91 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1589, allocations: 15.38 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.1595, allocations: 219.6 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.1599, allocations: 0.7004 MB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.16, allocations: 16.95 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.16, allocations: 19.44 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.16, allocations: 0 / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004889/0.1649, allocations: 1.798 MB / 489.5 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches