Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001018/0.001018, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.472/1.472, allocations: 223.3 MB / 242.3 MB, free: 220 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.215/0.215, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005575, allocations: 12 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002367/0.1438, allocations: 1.325 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1449, allocations: 423.3 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.145, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1453, allocations: 91.73 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1456, allocations: 67.86 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.146, allocations: 99.81 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1462, allocations: 87.8 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1464, allocations: 28.22 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.1465, allocations: 31.91 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1466, allocations: 55.81 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1466, allocations: 0 / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1467, allocations: 39.98 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.1468, allocations: 27.84 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.1469, allocations: 57.45 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1471, allocations: 123.5 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1471, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1471, allocations: 4 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1471, allocations: 0 / 474.7 MB, free: 10.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005651/0.1477, allocations: 415 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1478, allocations: 11.97 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1478, allocations: 16.75 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1481, allocations: 204.1 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1481, allocations: 4.375 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1481, allocations: 8.375 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1483, allocations: 85.72 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1483, allocations: 0 / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1484, allocations: 0 / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1484, allocations: 4 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1485, allocations: 46.97 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.1492, allocations: 348.6 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1494, allocations: 66.55 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.1495, allocations: 28.84 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.1495, allocations: 0 / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1496, allocations: 34.56 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1496, allocations: 4 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001371/0.151, allocations: 365.4 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.151, allocations: 55.41 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1514, allocations: 235.2 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1514, allocations: 29.7 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.1515, allocations: 116 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.1516, allocations: 39.44 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.1516, allocations: 17.72 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1518, allocations: 326.8 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1519, allocations: 51.97 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.152, allocations: 47.97 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.1523, allocations: 120.8 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1523, allocations: 0 / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003203/0.1527, allocations: 171 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.1527, allocations: 6.656 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1527, allocations: 0 / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.1527, allocations: 3.938 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.153, allocations: 27.98 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.153, allocations: 4 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1531, allocations: 8 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1531, allocations: 0 / 477.5 MB, free: 7.836 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 (13): * Single equations (assignments): 13 * 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.0001589/0.1532, allocations: 145.7 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.1533, allocations: 19.8 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.1538, allocations: 191.1 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1538, allocations: 0 / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.1538, allocations: 3.984 kB / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1538, allocations: 0 / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.1548, allocations: 0.5107 MB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1548, allocations: 0 / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.1549, allocations: 27.92 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1549, allocations: 4 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1549, allocations: 0 / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1549, allocations: 0 / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1549, allocations: 8.031 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.1553, allocations: 266.9 kB / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.1553, allocations: 93 kB / 478.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1553, allocations: 4 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1554, allocations: 8 kB / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.1555, allocations: 11.98 kB / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1555, allocations: 4 kB / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1557, allocations: 171.2 kB / 479 MB, free: 6.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 0 / 479 MB, free: 6.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1559, allocations: 28 kB / 479 MB, free: 6.254 MB / 350.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 (13): * Single equations (assignments): 13 * 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.001167/0.1571, allocations: 455.5 kB / 479.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.1574, allocations: 123.8 kB / 479.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1575, allocations: 0 / 479.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1576, allocations: 67.89 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1581, allocations: 16.22 kB / 479.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.159, allocations: 370.8 kB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.1595, allocations: 0.7278 MB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1596, allocations: 28.53 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.1596, allocations: 15.44 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1596, allocations: 0 / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004823/0.1645, allocations: 1.501 MB / 482.3 MB, free: 3.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches