Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 185.5 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3886/0.3886, allocations: 43.57 MB / 315 MB, free: 8.797 MB / 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.000522/0.0005221, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 58.87 MB / 443.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002067/0.1348, allocations: 1.271 MB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1362, allocations: 0.9182 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.1363, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1365, allocations: 23.86 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1367, allocations: 31.91 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.137, allocations: 87.83 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1371, allocations: 51.91 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.1372, allocations: 11.98 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.1373, allocations: 23.86 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1374, allocations: 27.84 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1375, allocations: 4 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1376, allocations: 39.98 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1376, allocations: 15.92 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.1377, allocations: 45.56 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1379, allocations: 92 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1379, allocations: 0 / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1379, allocations: 0 / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1379, allocations: 0 / 446.1 MB, free: 10 MB / 382.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.000428/0.1384, allocations: 367.3 kB / 446.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1384, allocations: 12.03 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1384, allocations: 4.844 kB / 446.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1386, allocations: 196.1 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1387, allocations: 4.375 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1387, allocations: 4.375 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1388, allocations: 67.53 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1389, allocations: 0 / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1389, allocations: 0 / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1389, allocations: 0 / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.139, allocations: 27.97 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1394, allocations: 284.8 kB / 447 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1396, allocations: 46.56 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.1396, allocations: 24.94 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1397, allocations: 0 / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1397, allocations: 34.56 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.1397, allocations: 0 / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005526/0.1403, allocations: 165.3 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1403, allocations: 77.11 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1405, allocations: 137.8 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1405, allocations: 25.7 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1405, allocations: 92.08 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1406, allocations: 19.8 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.1406, allocations: 13.72 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1407, allocations: 322.8 kB / 448 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.1408, allocations: 27.97 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.1409, allocations: 33.7 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.141, allocations: 69.05 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.141, allocations: 0 / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002097/0.1412, allocations: 93.56 kB / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1413, allocations: 8 kB / 448.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1413, allocations: 3.938 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1413, allocations: 3.938 kB / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.1414, allocations: 15.98 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1414, allocations: 0 / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1414, allocations: 8 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1414, allocations: 0 / 448.2 MB, free: 7.617 MB / 382.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 7.702e-05/0.1415, allocations: 125.8 kB / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.1416, allocations: 11.89 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1418, allocations: 97.91 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1418, allocations: 0 / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1418, allocations: 11.92 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1418, allocations: 3.938 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1422, allocations: 358.5 kB / 448.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1422, allocations: 0 / 448.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.1423, allocations: 15.98 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1423, allocations: 0 / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1423, allocations: 8 kB / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1423, allocations: 7.922 kB / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1423, allocations: 192 / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1426, allocations: 195.4 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1427, allocations: 89.02 kB / 449.1 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1427, allocations: 3.984 kB / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1428, allocations: 7.938 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1429, allocations: 8 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1429, allocations: 3.984 kB / 449.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.1429, allocations: 111.8 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.143, allocations: 0 / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1432, allocations: 16 kB / 449.3 MB, free: 6.461 MB / 382.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.0009343/0.1441, allocations: 441.4 kB / 449.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1444, allocations: 67.89 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1444, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.1445, allocations: 27.98 kB / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1448, allocations: 15.98 kB / 449.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.1451, allocations: 180.7 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1454, allocations: 0.6926 MB / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.1455, allocations: 11.98 kB / 450.7 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1455, allocations: 15.38 kB / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1455, allocations: 0 / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of Templates: time 0.003944/0.1495, allocations: 1.307 MB / 452 MB, free: 3.688 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches