Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 98.3 kB / 16.98 MB, free: 5.938 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.001403/0.001403, allocations: 185.5 kB / 17.88 MB, free: 5.594 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.435/1.435, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.251/0.251, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003892, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002336/0.1493, allocations: 1.263 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1509, allocations: 0.9415 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.151, allocations: 3.938 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1512, allocations: 19.91 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1514, allocations: 31.84 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1517, allocations: 98.94 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1519, allocations: 39.89 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.152, allocations: 7.984 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.1521, allocations: 23.86 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1522, allocations: 15.88 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1522, allocations: 4 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1524, allocations: 35.97 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.1524, allocations: 7.984 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1524, allocations: 33.64 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1526, allocations: 67.84 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1526, allocations: 0 / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1526, allocations: 0 / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1526, allocations: 0 / 474 MB, free: 11.12 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.0004771/0.1531, allocations: 367.4 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1532, allocations: 16.55 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1532, allocations: 8 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1535, allocations: 182.8 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1535, allocations: 4 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1535, allocations: 3.953 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1537, allocations: 67.39 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1537, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1538, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1538, allocations: 4 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1539, allocations: 27.98 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.1543, allocations: 284.8 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1545, allocations: 46.56 kB / 475 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1546, allocations: 0 / 475 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1546, allocations: 30.56 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1546, allocations: 0 / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006326/0.1553, allocations: 169.4 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1553, allocations: 81.05 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1555, allocations: 133.8 kB / 475.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1555, allocations: 25.7 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1555, allocations: 96.14 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1556, allocations: 19.73 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1556, allocations: 4 kB / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1557, allocations: 318.7 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.1558, allocations: 23.98 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.1559, allocations: 49.62 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.156, allocations: 27.98 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.156, allocations: 0 / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.1562, allocations: 89.58 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1562, allocations: 8.031 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1562, allocations: 3.984 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1562, allocations: 0 / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1563, allocations: 12.25 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1563, allocations: 0 / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.1564, allocations: 15.98 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1564, allocations: 0 / 476.1 MB, free: 8.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.1565, allocations: 125.7 kB / 476.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1565, allocations: 8.188 kB / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1568, allocations: 101.6 kB / 476.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1568, allocations: 3.984 kB / 476.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1568, allocations: 0 / 476.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1568, allocations: 4 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1572, allocations: 366.4 kB / 476.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1573, allocations: 0 / 476.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.1573, allocations: 15.98 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1573, allocations: 0 / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1573, allocations: 0 / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1574, allocations: 8 kB / 476.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1574, allocations: 0 / 476.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1576, allocations: 195.3 kB / 476.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.1577, allocations: 85.02 kB / 477 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1577, allocations: 8 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.1578, allocations: 11.92 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1578, allocations: 4 kB / 477 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1579, allocations: 0 / 477 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.1579, allocations: 114.1 kB / 477.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.158, allocations: 0 / 477.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1582, allocations: 20 kB / 477.2 MB, free: 7.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.1593, allocations: 441.5 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1595, allocations: 55.97 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1595, allocations: 0 / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.1596, allocations: 39.91 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1599, allocations: 11.95 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.1603, allocations: 181 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1606, allocations: 0.6926 MB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.1606, allocations: 23.95 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1607, allocations: 15.42 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1607, allocations: 4 kB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00401/0.1647, allocations: 1.276 MB / 479.9 MB, free: 5.059 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches