Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001345/0.001345, allocations: 188 kB / 19.34 MB, free: 3.641 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.499/1.499, allocations: 222.9 MB / 243 MB, free: 15.15 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.2216/0.2216, allocations: 44.17 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 65.78 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003423/0.1496, allocations: 1.559 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1513, allocations: 1.019 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1514, allocations: 4 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.1517, allocations: 23.84 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.152, allocations: 39.78 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1522, allocations: 86.89 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1524, allocations: 59.89 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.1525, allocations: 7.938 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.1525, allocations: 23.86 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1527, allocations: 31.91 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1527, allocations: 0 / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1528, allocations: 47.98 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1529, allocations: 15.91 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1529, allocations: 19.88 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1531, allocations: 87.78 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1532, allocations: 3.938 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1532, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1532, allocations: 0 / 473.7 MB, free: 10.63 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.0004464/0.1536, allocations: 379.2 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1537, allocations: 12.03 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1537, allocations: 4.844 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1539, allocations: 192.2 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.154, allocations: 8.375 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.154, allocations: 4.375 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1541, allocations: 63.47 kB / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1542, allocations: 0 / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1542, allocations: 7.984 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1542, allocations: 0 / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.1543, allocations: 23.97 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.1546, allocations: 268.9 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1548, allocations: 50.48 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.1549, allocations: 12.86 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1549, allocations: 0 / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1549, allocations: 34.5 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.155, allocations: 4 kB / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005294/0.1555, allocations: 141.4 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1556, allocations: 81.09 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1557, allocations: 129.8 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1557, allocations: 29.7 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1558, allocations: 92.12 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1558, allocations: 23.75 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1559, allocations: 17.72 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.156, allocations: 318.8 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.1561, allocations: 19.98 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.1561, allocations: 29.7 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1563, allocations: 57.05 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1563, allocations: 3.938 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.1565, allocations: 81.52 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1565, allocations: 4 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1565, allocations: 0 / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1565, allocations: 0 / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.1566, allocations: 15.98 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1566, allocations: 0 / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.1567, allocations: 15.98 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.1567, allocations: 0 / 475.8 MB, free: 8.305 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 0.0001233/0.1568, allocations: 117.8 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.1569, allocations: 7.906 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.1571, allocations: 85.56 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1571, allocations: 0 / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1571, allocations: 4 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1571, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.1576, allocations: 350.5 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1576, allocations: 0 / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.1577, allocations: 15.94 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1577, allocations: 0 / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1577, allocations: 0 / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1577, allocations: 7.922 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1577, allocations: 0 / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1579, allocations: 179.6 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.158, allocations: 81.11 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.158, allocations: 0 / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1581, allocations: 11.92 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1582, allocations: 4 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1582, allocations: 4 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.1583, allocations: 106.6 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1583, allocations: 7.938 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1585, allocations: 23.91 kB / 476.8 MB, free: 7.215 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.001108/0.1597, allocations: 443.8 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1599, allocations: 47.97 kB / 477.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1599, allocations: 0 / 477.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.16, allocations: 23.98 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1603, allocations: 27.48 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1607, allocations: 153.5 kB / 477.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.161, allocations: 0.6924 MB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.1611, allocations: 8 kB / 478.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.1612, allocations: 15.42 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1612, allocations: 0 / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004339/0.1655, allocations: 1.348 MB / 479.5 MB, free: 4.59 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches