Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.CombiTable1D.Test7,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.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 178.6 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007591/0.0007591, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3169/0.3169, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 15.98 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001828/0.1074, allocations: 1.259 MB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.1079, allocations: 295.8 kB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.108, allocations: 0 / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1082, allocations: 27.86 kB / 491.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1084, allocations: 27.91 kB / 491.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1086, allocations: 75.91 kB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1088, allocations: 47.84 kB / 492 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1089, allocations: 23.95 kB / 492 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.1089, allocations: 23.86 kB / 492 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.109, allocations: 11.88 kB / 492 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.109, allocations: 4 kB / 492 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.1091, allocations: 31.92 kB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.1091, allocations: 11.98 kB / 492.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1092, allocations: 33.64 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1093, allocations: 55.91 kB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1093, allocations: 0 / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1093, allocations: 4 kB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1093, allocations: 4 kB / 492.2 MB, free: 9.27 MB / 378.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.0004399/0.1098, allocations: 371.2 kB / 492.5 MB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1098, allocations: 16.02 kB / 492.5 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1098, allocations: 11.84 kB / 492.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.11, allocations: 182.3 kB / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.11, allocations: 3.938 kB / 492.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1101, allocations: 4 kB / 492.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1102, allocations: 53.67 kB / 492.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1102, allocations: 4 kB / 492.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1102, allocations: 0 / 492.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1102, allocations: 0 / 492.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.1103, allocations: 27.94 kB / 492.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1107, allocations: 280.9 kB / 493.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1109, allocations: 54.48 kB / 493.1 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.111, allocations: 16.86 kB / 493.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.111, allocations: 0 / 493.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.111, allocations: 34.64 kB / 493.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.111, allocations: 4 kB / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005711/0.1116, allocations: 173.2 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1117, allocations: 55.41 kB / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1118, allocations: 154 kB / 493.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1118, allocations: 25.7 kB / 493.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.1119, allocations: 92.14 kB / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1119, allocations: 19.8 kB / 493.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.1119, allocations: 0 / 493.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.112, allocations: 314.8 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.1121, allocations: 31.97 kB / 494 MB, free: 7.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.1122, allocations: 23.98 kB / 494.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.1123, allocations: 28.11 kB / 494.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1123, allocations: 0 / 494.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001965/0.1125, allocations: 97.58 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1125, allocations: 15.94 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1125, allocations: 0 / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1125, allocations: 0 / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.1126, allocations: 19.88 kB / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1126, allocations: 0 / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1127, allocations: 11.98 kB / 494.2 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1127, allocations: 4 kB / 494.2 MB, free: 6.969 MB / 378.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 8.509e-05/0.1128, allocations: 113.8 kB / 494.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.1128, allocations: 7.906 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1131, allocations: 117.8 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1131, allocations: 4 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1131, allocations: 0 / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1131, allocations: 0 / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1135, allocations: 358.5 kB / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1135, allocations: 0 / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.1136, allocations: 24.22 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1136, allocations: 0 / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1136, allocations: 4 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1136, allocations: 0 / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1136, allocations: 0 / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1139, allocations: 199.6 kB / 495.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1139, allocations: 81.02 kB / 495.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.114, allocations: 7.953 kB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.114, allocations: 11.98 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1141, allocations: 0 / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1141, allocations: 4 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.036e-05/0.1142, allocations: 122.6 kB / 495.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1142, allocations: 4 kB / 495.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.1144, allocations: 23.91 kB / 495.3 MB, free: 5.801 MB / 378.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.0007509/0.1152, allocations: 389.4 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1154, allocations: 63.97 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1154, allocations: 4 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1155, allocations: 35.91 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1158, allocations: 12 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.1162, allocations: 218.4 kB / 496 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1164, allocations: 0.7004 MB / 496.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.1164, allocations: 11.44 kB / 496.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1164, allocations: 0 / 496.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of Templates: time 0.002768/0.1192, allocations: 1.399 MB / 498.1 MB, free: 2.965 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches