Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0026/0.0026, allocations: 189 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.119/2.119, 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.00114/0.001139, allocations: 86.86 kB / 270.9 MB, free: 13.29 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.2888/0.2888, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004627, allocations: 8 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002345/0.1208, allocations: 1.272 MB / 491.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000779/0.1216, allocations: 283.9 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1217, allocations: 3.938 kB / 491.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.122, allocations: 27.91 kB / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1222, allocations: 31.89 kB / 491.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1225, allocations: 64.48 kB / 491.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1227, allocations: 47.88 kB / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1228, allocations: 12.19 kB / 491.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.1229, allocations: 27.86 kB / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/0.123, allocations: 19.91 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.123, allocations: 0 / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.1231, allocations: 16 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.1231, allocations: 15.92 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1232, allocations: 33.64 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1233, allocations: 67.78 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1234, allocations: 0 / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1234, allocations: 4 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1234, allocations: 0 / 492.1 MB, free: 7.406 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.0005321/0.1239, allocations: 379.4 kB / 492.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.124, allocations: 12.02 kB / 492.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.124, allocations: 7.906 kB / 492.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1243, allocations: 193.5 kB / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1243, allocations: 4 kB / 492.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1243, allocations: 0 / 492.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1246, allocations: 61.61 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1246, allocations: 4 kB / 492.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1246, allocations: 4 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1246, allocations: 0 / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1248, allocations: 35.97 kB / 492.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1253, allocations: 296.7 kB / 493.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1255, allocations: 54.5 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1255, allocations: 80 / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1256, allocations: 38.69 kB / 493.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1256, allocations: 3.938 kB / 493.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.00096/0.1266, allocations: 197.2 kB / 493.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1266, allocations: 51.41 kB / 493.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1268, allocations: 150 kB / 493.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1269, allocations: 33.7 kB / 493.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.127, allocations: 158.6 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.127, allocations: 27.56 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.127, allocations: 0 / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1272, allocations: 318.8 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1273, allocations: 27.98 kB / 494.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1274, allocations: 27.98 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1276, allocations: 32.2 kB / 494.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1276, allocations: 4 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003544/0.128, allocations: 97.59 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.128, allocations: 7.984 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.128, allocations: 4 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1281, allocations: 7.953 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1282, allocations: 16 kB / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1283, allocations: 7.984 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.1284, allocations: 4.375 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1284, allocations: 0 / 494.3 MB, free: 4.977 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.0001129/0.1285, allocations: 117.8 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.1286, allocations: 15.89 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.129, allocations: 134.1 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.129, allocations: 3.953 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.129, allocations: 0 / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1291, allocations: 3.984 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.1298, allocations: 394.5 kB / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1298, allocations: 0 / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.13, allocations: 16 kB / 495 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/0.13, allocations: 3.953 kB / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.13, allocations: 11.98 kB / 495 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.13, allocations: 0 / 495 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.13, allocations: 0 / 495 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.1304, allocations: 199.4 kB / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1305, allocations: 96.95 kB / 495.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1305, allocations: 3.953 kB / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1307, allocations: 4 kB / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1307, allocations: 11.97 kB / 495.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1308, allocations: 4 kB / 495.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.1309, allocations: 122.2 kB / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1309, allocations: 0 / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.1313, allocations: 20 kB / 495.5 MB, free: 3.73 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.001148/0.1324, allocations: 403.5 kB / 495.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.1328, allocations: 67.95 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1328, allocations: 3.938 kB / 495.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.133, allocations: 40.14 kB / 496 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1333, allocations: 16.14 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.1339, allocations: 242.7 kB / 496.2 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1343, allocations: 0.7043 MB / 496.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.1344, allocations: 11.44 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1344, allocations: 0 / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of Templates: time 0.004705/0.1391, allocations: 1.535 MB / 498.5 MB, free: 0.7148 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches