Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002647/0.002652, allocations: 186.2 kB / 16.4 MB, free: 5.625 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.158/2.158, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001607/0.001608, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2962/0.2962, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007381/0.0007382, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.131, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002522/0.1336, allocations: 1.272 MB / 491.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1347, allocations: 283.8 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.1349, allocations: 7.938 kB / 491.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1352, allocations: 79.81 kB / 491.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1354, allocations: 63.84 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1358, allocations: 59.88 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.136, allocations: 55.86 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1361, allocations: 16.17 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.1362, allocations: 35.83 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1364, allocations: 35.91 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1364, allocations: 0 / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1365, allocations: 20 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1366, allocations: 19.91 kB / 492.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.1366, allocations: 37.64 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1368, allocations: 75.83 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1368, allocations: 4 kB / 492.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1368, allocations: 4 kB / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1368, allocations: 0 / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005877/0.1374, allocations: 395.2 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1375, allocations: 16.02 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1376, allocations: 11.81 kB / 492.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1378, allocations: 202.8 kB / 492.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1379, allocations: 8 kB / 492.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1379, allocations: 4 kB / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1381, allocations: 57.69 kB / 492.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1381, allocations: 0 / 492.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1382, allocations: 7.969 kB / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1382, allocations: 4 kB / 493 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1384, allocations: 35.92 kB / 493 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1389, allocations: 312.7 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1391, allocations: 46.56 kB / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1391, allocations: 0 / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1392, allocations: 34.56 kB / 493.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1392, allocations: 11.88 kB / 493.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009969/0.1402, allocations: 193.3 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1403, allocations: 59.34 kB / 493.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1406, allocations: 234.2 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1406, allocations: 25.7 kB / 493.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1408, allocations: 166.6 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1408, allocations: 27.64 kB / 494.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.1408, allocations: 4 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.141, allocations: 314.8 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1411, allocations: 31.98 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1413, allocations: 27.97 kB / 494.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1414, allocations: 32.06 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1414, allocations: 0 / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003788/0.1418, allocations: 109.8 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1419, allocations: 6.656 kB / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1419, allocations: 0 / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1419, allocations: 7.953 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1421, allocations: 23.92 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1421, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.1422, allocations: 8 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1422, allocations: 7.984 kB / 494.6 MB, free: 4.68 MB / 330.7 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 (8): * Single equations (assignments): 8 * 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.0001425/0.1424, allocations: 125.8 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.1424, allocations: 7.906 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.1429, allocations: 127 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.143, allocations: 11.89 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.143, allocations: 3.984 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.143, allocations: 0 / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.1437, allocations: 390.5 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1438, allocations: 4 kB / 495.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1439, allocations: 28.3 kB / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.1439, allocations: 3.953 kB / 495.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.144, allocations: 4 kB / 495.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.144, allocations: 4 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.144, allocations: 0 / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.1444, allocations: 211.3 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.1445, allocations: 92.94 kB / 495.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1446, allocations: 7.953 kB / 495.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1447, allocations: 4 kB / 495.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1448, allocations: 7.984 kB / 495.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1448, allocations: 0 / 495.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.145, allocations: 180.2 kB / 495.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.145, allocations: 0 / 495.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.1454, allocations: 16 kB / 495.8 MB, free: 3.371 MB / 330.7 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 (8): * Single equations (assignments): 8 * 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.001208/0.1466, allocations: 394.6 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.147, allocations: 67.97 kB / 496.3 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.147, allocations: 0 / 496.3 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1472, allocations: 43.92 kB / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1475, allocations: 15.73 kB / 496.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.1483, allocations: 311.2 kB / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1486, allocations: 0.716 MB / 497.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.1487, allocations: 15.44 kB / 497.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1487, allocations: 0 / 497.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of Templates: time 0.005117/0.1539, allocations: 1.683 MB / 499.1 MB, free: 136 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches