Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002506/0.002511, allocations: 189.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.318/2.318, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001169/0.001169, allocations: 98.86 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.2898/0.2898, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007866/0.0007867, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1305, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002341/0.1329, allocations: 1.248 MB / 491.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.1337, allocations: 287.8 kB / 491.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1338, allocations: 0 / 491.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1341, allocations: 67.78 kB / 491.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1343, allocations: 55.86 kB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1346, allocations: 67.81 kB / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1348, allocations: 43.92 kB / 492 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.1349, allocations: 8 kB / 492 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.135, allocations: 31.83 kB / 492 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1351, allocations: 35.91 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1351, allocations: 4 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.1352, allocations: 16 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1353, allocations: 23.91 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1353, allocations: 33.64 kB / 492.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1355, allocations: 67.84 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1355, allocations: 0 / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1355, allocations: 0 / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1355, allocations: 0 / 492.2 MB, free: 7.336 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.000558/0.1361, allocations: 383.3 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1362, allocations: 12.02 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1362, allocations: 15.86 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1365, allocations: 194.9 kB / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1365, allocations: 7.938 kB / 492.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1365, allocations: 4 kB / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1367, allocations: 45.69 kB / 492.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1367, allocations: 0 / 492.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1368, allocations: 4 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1368, allocations: 0 / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1369, allocations: 31.97 kB / 492.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1374, allocations: 284.8 kB / 493.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1376, allocations: 42.5 kB / 493.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1377, allocations: 4 kB / 493.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1377, allocations: 34.56 kB / 493.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.1377, allocations: 0 / 493.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008386/0.1386, allocations: 165.5 kB / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1386, allocations: 51.41 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1389, allocations: 206.2 kB / 493.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.139, allocations: 25.7 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.1391, allocations: 174.4 kB / 493.8 MB, free: 5.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1391, allocations: 11.81 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.1391, allocations: 0 / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1393, allocations: 322.8 kB / 494.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1394, allocations: 19.98 kB / 494.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1395, allocations: 19.98 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1397, allocations: 23.98 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1397, allocations: 4 kB / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003177/0.14, allocations: 85.61 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.14, allocations: 7.438 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1401, allocations: 0 / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1401, allocations: 0 / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1402, allocations: 27.92 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1402, allocations: 0 / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.1403, allocations: 11.98 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1403, allocations: 0 / 494.4 MB, free: 4.953 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.0001299/0.1405, allocations: 117.8 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1405, allocations: 7.906 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1409, allocations: 109.9 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1409, allocations: 4 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.141, allocations: 3.953 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.141, allocations: 0 / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.1416, allocations: 362.8 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1416, allocations: 0 / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1417, allocations: 15.92 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1418, allocations: 4 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1418, allocations: 3.953 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1418, allocations: 0 / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1418, allocations: 0 / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1422, allocations: 187.4 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1422, allocations: 85.02 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.1423, allocations: 4 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1424, allocations: 11.94 kB / 495.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1425, allocations: 4 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1425, allocations: 4 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.1427, allocations: 159.2 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1427, allocations: 0 / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.1431, allocations: 23.98 kB / 495.5 MB, free: 3.766 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.001169/0.1443, allocations: 395.6 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.1446, allocations: 55.97 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1446, allocations: 0 / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1448, allocations: 31.97 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1451, allocations: 8 kB / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.1457, allocations: 266.8 kB / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1461, allocations: 0.7004 MB / 496.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.1461, allocations: 15.42 kB / 496.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1462, allocations: 0 / 496.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of Templates: time 0.00453/0.1507, allocations: 1.475 MB / 498.4 MB, free: 0.8164 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches