Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 187 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.175/2.175, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001184/0.001184, allocations: 102.8 kB / 270.9 MB, free: 13.28 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.3405/0.3405, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006474, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1254, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003293/0.1287, allocations: 1.252 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1299, allocations: 283.9 kB / 491.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.13, allocations: 3.938 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.1305, allocations: 103.7 kB / 491.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1308, allocations: 71.83 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.1312, allocations: 59.81 kB / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1314, allocations: 51.86 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1316, allocations: 19.98 kB / 492 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.1317, allocations: 19.92 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1319, allocations: 51.88 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1319, allocations: 0 / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1321, allocations: 15.98 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1322, allocations: 27.91 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.1322, allocations: 33.64 kB / 492.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1325, allocations: 71.84 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1325, allocations: 0 / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1325, allocations: 4 kB / 492.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1325, allocations: 0 / 492.3 MB, free: 7.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007482/0.1333, allocations: 407 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1334, allocations: 12.02 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.1334, allocations: 11.86 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1338, allocations: 194.9 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1338, allocations: 0 / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1339, allocations: 4 kB / 492.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1341, allocations: 57.67 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1342, allocations: 4 kB / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1342, allocations: 0 / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1342, allocations: 0 / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1344, allocations: 23.98 kB / 493 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.135, allocations: 292.8 kB / 493.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1354, allocations: 42.56 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.1355, allocations: 8.062 kB / 493.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1355, allocations: 30.56 kB / 493.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.757e-06/0.1355, allocations: 4 kB / 493.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001111/0.1366, allocations: 165.1 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.1368, allocations: 51.41 kB / 493.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.1372, allocations: 242.7 kB / 493.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1373, allocations: 29.7 kB / 493.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1374, allocations: 170.4 kB / 494 MB, free: 5.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.1375, allocations: 27.67 kB / 494 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1375, allocations: 0 / 494 MB, free: 5.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1377, allocations: 310.8 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1379, allocations: 19.98 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1381, allocations: 27.98 kB / 494.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1383, allocations: 27.92 kB / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1383, allocations: 0 / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004689/0.1388, allocations: 81.67 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.1388, allocations: 7.438 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1388, allocations: 0 / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1389, allocations: 0 / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1391, allocations: 23.94 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1391, allocations: 0 / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1392, allocations: 4 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1392, allocations: 7.938 kB / 494.5 MB, free: 4.816 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 (5): * Single equations (assignments): 5 * 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.0002006/0.1395, allocations: 130.9 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.1395, allocations: 7.906 kB / 494.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.1401, allocations: 110.5 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1401, allocations: 0 / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1401, allocations: 3.953 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1401, allocations: 4 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1412, allocations: 370.8 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1412, allocations: 0 / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1414, allocations: 8 kB / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1414, allocations: 8 kB / 495.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.1415, allocations: 7.953 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1415, allocations: 3.984 kB / 495.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1415, allocations: 0 / 495.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.142, allocations: 187.4 kB / 495.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1422, allocations: 88.92 kB / 495.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.1422, allocations: 3.984 kB / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1424, allocations: 11.95 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.1425, allocations: 3.984 kB / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1425, allocations: 0 / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003472/0.1429, allocations: 195.1 kB / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1429, allocations: 0 / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.1435, allocations: 12 kB / 495.6 MB, free: 3.582 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 (5): * Single equations (assignments): 5 * 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.001711/0.1452, allocations: 402 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.1457, allocations: 51.97 kB / 496.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1457, allocations: 0 / 496.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1459, allocations: 31.92 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1464, allocations: 19.45 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.1473, allocations: 295.4 kB / 496.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.1478, allocations: 0.7121 MB / 497.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1479, allocations: 11.44 kB / 497.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1479, allocations: 0 / 497.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of Templates: time 0.006672/0.1546, allocations: 1.555 MB / 498.7 MB, free: 0.5078 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches