Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001704, allocations: 108.3 kB / 17.04 MB, free: 5.797 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.001715/0.001715, allocations: 195 kB / 17.98 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 73.11 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003478/0.1586, allocations: 1.602 MB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1599, allocations: 0.9339 MB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.16, allocations: 0 / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1602, allocations: 27.84 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1604, allocations: 43.78 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1607, allocations: 111.3 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1609, allocations: 63.78 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.161, allocations: 24.09 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.161, allocations: 19.92 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1612, allocations: 31.86 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1612, allocations: 4 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1613, allocations: 55.95 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.1614, allocations: 19.92 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1614, allocations: 15.88 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1616, allocations: 107.6 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1616, allocations: 0 / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1616, allocations: 0 / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1617, allocations: 0 / 445 MB, free: 3.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005008/0.1622, allocations: 391.2 kB / 445.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1622, allocations: 11.89 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1623, allocations: 8.844 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1625, allocations: 184.3 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1625, allocations: 384 / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1625, allocations: 4.375 kB / 445.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1627, allocations: 87.25 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1627, allocations: 0 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1627, allocations: 4 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1627, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1628, allocations: 31.97 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1632, allocations: 292.7 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1633, allocations: 42.56 kB / 446.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.1634, allocations: 20.94 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1634, allocations: 4 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1634, allocations: 34.56 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.1634, allocations: 3.984 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000831/0.1643, allocations: 197.2 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1644, allocations: 81.19 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1646, allocations: 133.8 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1646, allocations: 25.7 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1647, allocations: 104 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1648, allocations: 27.64 kB / 446.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1648, allocations: 17.72 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1649, allocations: 326.8 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.1651, allocations: 31.91 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1653, allocations: 53.69 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1656, allocations: 76.84 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1656, allocations: 0 / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000344/0.1659, allocations: 105.6 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.166, allocations: 9.25 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.166, allocations: 0 / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.166, allocations: 0 / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1662, allocations: 19.98 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1662, allocations: 7.938 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.1663, allocations: 11.92 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1663, allocations: 4 kB / 447.3 MB, free: 0.543 MB / 318.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 (7): * Single equations (assignments): 7 * 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.00011/0.1664, allocations: 117.8 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1665, allocations: 7.906 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.1669, allocations: 126 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1669, allocations: 0 / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1669, allocations: 0 / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1669, allocations: 7.922 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.1674, allocations: 390.4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1674, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.1675, allocations: 19.98 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1675, allocations: 4 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1675, allocations: 3.938 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1675, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1675, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1678, allocations: 203.4 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.1679, allocations: 85.02 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1679, allocations: 11.94 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.168, allocations: 11.92 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1681, allocations: 7.984 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1681, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.1682, allocations: 107 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1682, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1684, allocations: 27.98 kB / 448.4 MB, free: 15.33 MB / 334.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 (7): * Single equations (assignments): 7 * 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.001107/0.1696, allocations: 452.3 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.1699, allocations: 79.88 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1699, allocations: 0 / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.17, allocations: 43.97 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1704, allocations: 16 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.1709, allocations: 182.2 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1713, allocations: 0.6962 MB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.1714, allocations: 19.92 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1714, allocations: 19.44 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1714, allocations: 0 / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Templates: time 0.004576/0.176, allocations: 1.487 MB / 451.4 MB, free: 12.39 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches