Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001219, allocations: 91.06 kB / 17.35 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001373, allocations: 177.9 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 242.3 MB, free: 92 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 12.28 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002137/0.1465, allocations: 1.27 MB / 473.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.1473, allocations: 395.4 kB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.1474, allocations: 4 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1477, allocations: 23.91 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1479, allocations: 31.92 kB / 474 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1481, allocations: 78.59 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1483, allocations: 51.78 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1484, allocations: 15.98 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.1485, allocations: 11.94 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1486, allocations: 27.84 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.1486, allocations: 0 / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.1487, allocations: 20 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.1488, allocations: 19.92 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1488, allocations: 41.52 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.149, allocations: 79.77 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.149, allocations: 0 / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.149, allocations: 0 / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.149, allocations: 0 / 474.3 MB, free: 11.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005377/0.1495, allocations: 371.5 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1496, allocations: 16.02 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1497, allocations: 8.844 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1499, allocations: 184.2 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1499, allocations: 384 / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1499, allocations: 384 / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1501, allocations: 61.73 kB / 474.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1501, allocations: 7.906 kB / 474.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1501, allocations: 4 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1501, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1502, allocations: 23.98 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1506, allocations: 268.9 kB / 475.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1508, allocations: 50.5 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1509, allocations: 16.86 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1509, allocations: 4 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1509, allocations: 34.64 kB / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.151, allocations: 0 / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005917/0.1515, allocations: 161.2 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1516, allocations: 51.41 kB / 475.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1518, allocations: 153.8 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1518, allocations: 29.7 kB / 475.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1519, allocations: 96.12 kB / 475.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1519, allocations: 11.81 kB / 475.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1519, allocations: 13.72 kB / 475.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1521, allocations: 322.8 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.1521, allocations: 23.98 kB / 476.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1522, allocations: 19.98 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1523, allocations: 60.77 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1524, allocations: 0 / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001918/0.1526, allocations: 93.52 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1526, allocations: 6.188 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1526, allocations: 0 / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1526, allocations: 256 / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1527, allocations: 15.98 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1527, allocations: 4 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1527, allocations: 8 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1528, allocations: 11.94 kB / 476.4 MB, free: 8.973 MB / 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 (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 9.035e-05/0.1529, allocations: 122.3 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.1529, allocations: 7.906 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1531, allocations: 98.19 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1532, allocations: 4 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1532, allocations: 0 / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1532, allocations: 3.984 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1536, allocations: 350.5 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1537, allocations: 0 / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.1537, allocations: 27.86 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1537, allocations: 0 / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1538, allocations: 0 / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1538, allocations: 3.938 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1538, allocations: 0 / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.154, allocations: 187.4 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1541, allocations: 85.02 kB / 477.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1541, allocations: 4 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1542, allocations: 11.92 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1543, allocations: 4 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1543, allocations: 0 / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1544, allocations: 123.2 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 0 / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1546, allocations: 19.91 kB / 477.4 MB, free: 7.836 MB / 350.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 (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.0009584/0.1556, allocations: 402.9 kB / 477.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1558, allocations: 51.97 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1558, allocations: 4 kB / 477.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.1559, allocations: 27.98 kB / 477.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1563, allocations: 11.98 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.1567, allocations: 208.6 kB / 478.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.157, allocations: 0.6887 MB / 478.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.157, allocations: 15.97 kB / 478.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.1571, allocations: 11.44 kB / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1571, allocations: 0 / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003562/0.1606, allocations: 1.032 MB / 479.9 MB, free: 5.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches