Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 184.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.4 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5103/0.5103, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006349, allocations: 15.98 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002457/0.1321, allocations: 1.271 MB / 491.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.1329, allocations: 287.8 kB / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.133, allocations: 4 kB / 491.8 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1333, allocations: 91.73 kB / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1335, allocations: 55.86 kB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1339, allocations: 87.77 kB / 492 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1341, allocations: 51.88 kB / 492 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1343, allocations: 28.14 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.1344, allocations: 31.86 kB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1345, allocations: 39.88 kB / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1345, allocations: 0 / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1346, allocations: 20 kB / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.1347, allocations: 19.92 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1347, allocations: 37.64 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1349, allocations: 79.81 kB / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.135, allocations: 0 / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.135, allocations: 0 / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.135, allocations: 4 kB / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005902/0.1356, allocations: 411 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1356, allocations: 12.02 kB / 492.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.1357, allocations: 19.77 kB / 492.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1359, allocations: 194.9 kB / 492.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.136, allocations: 0 / 492.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.136, allocations: 8 kB / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1363, allocations: 79.33 kB / 493 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1363, allocations: 0 / 493 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1363, allocations: 4 kB / 493 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1363, allocations: 7.984 kB / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1365, allocations: 39.92 kB / 493.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.1372, allocations: 405 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1376, allocations: 81.22 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1376, allocations: 11.94 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1376, allocations: 30.56 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.04e-06/0.1377, allocations: 0 / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001125/0.1388, allocations: 264.7 kB / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1389, allocations: 77.11 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1392, allocations: 230.3 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1392, allocations: 33.7 kB / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1394, allocations: 174.3 kB / 494.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1394, allocations: 27.56 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.1395, allocations: 4 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1396, allocations: 322.8 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1398, allocations: 31.98 kB / 494.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.14, allocations: 49.69 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1401, allocations: 43.98 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1402, allocations: 3.984 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004204/0.1406, allocations: 121.6 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1406, allocations: 7.953 kB / 494.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1406, allocations: 256 / 494.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1407, allocations: 8 kB / 494.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1409, allocations: 23.98 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1409, allocations: 4 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.141, allocations: 11.92 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.141, allocations: 4 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 0.0001405/0.1411, allocations: 129.8 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.1412, allocations: 19.81 kB / 495.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.1418, allocations: 162.5 kB / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1418, allocations: 0 / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1418, allocations: 4 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1418, allocations: 0 / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/0.1428, allocations: 0.5102 MB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1428, allocations: 0 / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.143, allocations: 27.92 kB / 495.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.143, allocations: 4.031 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1431, allocations: 4 kB / 495.8 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1431, allocations: 4 kB / 495.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1431, allocations: 0 / 495.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.1436, allocations: 334.9 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.1437, allocations: 89.72 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1437, allocations: 8 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1439, allocations: 15.92 kB / 496.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.144, allocations: 8.266 kB / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.144, allocations: 8 kB / 496.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.1442, allocations: 168.2 kB / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1442, allocations: 3.938 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.1446, allocations: 27.94 kB / 496.5 MB, free: 4.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001176/0.1458, allocations: 408 kB / 496.9 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.1463, allocations: 95.88 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1463, allocations: 0 / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.1465, allocations: 48.22 kB / 497 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1469, allocations: 8 kB / 497 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.1477, allocations: 357 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1481, allocations: 0.7199 MB / 498.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.1481, allocations: 19.44 kB / 498.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1481, allocations: 0 / 498.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Templates: time 0.005261/0.1534, allocations: 1.77 MB / 499.9 MB, free: 1.121 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches