Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001622, allocations: 188.9 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.134/2.134, 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.001141/0.001141, allocations: 82.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.324/0.324, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000623/0.0006232, allocations: 8 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1229, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002417/0.1254, allocations: 1.263 MB / 491.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008346/0.1263, allocations: 283.8 kB / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.1264, allocations: 4 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008349/0.1272, allocations: 439.2 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.1277, allocations: 235.6 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.1284, allocations: 139.7 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1287, allocations: 111.8 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1288, allocations: 12.17 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1289, allocations: 103.7 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.1293, allocations: 147.8 kB / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1293, allocations: 0 / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.1294, allocations: 11.94 kB / 492.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1296, allocations: 87.67 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.1296, allocations: 69.52 kB / 493.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1299, allocations: 175.8 kB / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.13, allocations: 0 / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.13, allocations: 3.938 kB / 493.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.13, allocations: 0 / 493.3 MB, free: 6.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009462/0.1309, allocations: 0.5952 MB / 493.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.1311, allocations: 12.02 kB / 493.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.1312, allocations: 51.44 kB / 493.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1316, allocations: 283.3 kB / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1316, allocations: 4 kB / 494.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1316, allocations: 0 / 494.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1319, allocations: 65.61 kB / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1319, allocations: 0 / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1319, allocations: 0 / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1319, allocations: 0 / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1322, allocations: 47.91 kB / 494.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.1329, allocations: 396.7 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1331, allocations: 54.55 kB / 494.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1332, allocations: 0 / 494.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1332, allocations: 34.5 kB / 494.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.1332, allocations: 3.938 kB / 494.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005517/0.1338, allocations: 137.3 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1338, allocations: 59.34 kB / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.1352, allocations: 0.8613 MB / 495.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1353, allocations: 25.7 kB / 495.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.1355, allocations: 238.5 kB / 496.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1356, allocations: 11.84 kB / 496.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.1356, allocations: 0 / 496.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1357, allocations: 310.8 kB / 496.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1359, allocations: 23.98 kB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.136, allocations: 23.97 kB / 496.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1362, allocations: 27.98 kB / 496.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1362, allocations: 3.938 kB / 496.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.1365, allocations: 73.67 kB / 496.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1366, allocations: 4 kB / 496.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1366, allocations: 4 kB / 496.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1366, allocations: 7.984 kB / 496.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1367, allocations: 8 kB / 496.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1368, allocations: 0 / 496.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1369, allocations: 11.94 kB / 496.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1369, allocations: 4 kB / 496.6 MB, free: 2.707 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 (3): * Single equations (assignments): 3 * 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.0002918/0.1372, allocations: 205.8 kB / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.1373, allocations: 39.44 kB / 496.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.1378, allocations: 140.9 kB / 497 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1378, allocations: 0 / 497 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1378, allocations: 4 kB / 497 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1378, allocations: 384 / 497 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.1382, allocations: 293.5 kB / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1382, allocations: 0 / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.1383, allocations: 12 kB / 497.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1384, allocations: 0 / 497.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1384, allocations: 0 / 497.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1384, allocations: 0 / 497.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.1384, allocations: 11.92 kB / 497.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1388, allocations: 222.9 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.139, allocations: 116.6 kB / 497.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1391, allocations: 3.938 kB / 497.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1392, allocations: 8 kB / 497.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.1393, allocations: 7.984 kB / 497.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1393, allocations: 0 / 497.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.1403, allocations: 0.6511 MB / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.1404, allocations: 4 kB / 498.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.1407, allocations: 20 kB / 498.3 MB, free: 0.8867 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 (3): * Single equations (assignments): 3 * 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.001044/0.1418, allocations: 345 kB / 498.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.1422, allocations: 47.97 kB / 498.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1422, allocations: 0 / 498.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1423, allocations: 27.92 kB / 498.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1428, allocations: 29.91 kB / 498.8 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1446, allocations: 0.8624 MB / 499.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.1453, allocations: 0.8262 MB / 0.4887 GB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.1454, allocations: 15.42 kB / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1454, allocations: 0 / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01136/0.1567, allocations: 3.517 MB / 0.4922 GB, free: 11.2 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches