Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 176.7 kB / 16.72 MB, free: 5.078 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007226/0.0007226, allocations: 107.9 kB / 271.2 MB, free: 8.242 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.2946/0.2946, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 20 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.001693/0.1051, allocations: 1.309 MB / 492.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1062, allocations: 0.9144 MB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.1063, allocations: 0 / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1065, allocations: 27.84 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1066, allocations: 39.91 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1069, allocations: 139.8 kB / 493.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1071, allocations: 55.83 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1072, allocations: 27.83 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.1072, allocations: 15.88 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1073, allocations: 31.89 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1074, allocations: 3.938 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.1075, allocations: 43.98 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1075, allocations: 11.98 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1076, allocations: 49.5 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1077, allocations: 68.11 kB / 493.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1077, allocations: 4 kB / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1077, allocations: 0 / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1077, allocations: 0 / 493.6 MB, free: 8.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004111/0.1081, allocations: 379.3 kB / 493.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1082, allocations: 12.03 kB / 493.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.1082, allocations: 8.844 kB / 493.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1084, allocations: 192.2 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1084, allocations: 4.375 kB / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1084, allocations: 8.375 kB / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1086, allocations: 83.44 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1086, allocations: 4 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1087, allocations: 0 / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1087, allocations: 0 / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1088, allocations: 51.95 kB / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1092, allocations: 308.7 kB / 494.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1093, allocations: 54.5 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.1094, allocations: 32.94 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1095, allocations: 0 / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1095, allocations: 30.56 kB / 494.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1095, allocations: 4 kB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007358/0.1102, allocations: 261.1 kB / 495 MB, free: 6.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1103, allocations: 77.11 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1104, allocations: 145.1 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1104, allocations: 25.7 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1105, allocations: 96.19 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1105, allocations: 23.66 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1105, allocations: 0 / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1106, allocations: 322.8 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1107, allocations: 47.97 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1109, allocations: 61.67 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1111, allocations: 108.8 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1111, allocations: 0 / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002761/0.1114, allocations: 137.5 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1114, allocations: 7.984 kB / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1114, allocations: 0 / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1114, allocations: 0 / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1116, allocations: 27.98 kB / 496 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1116, allocations: 0 / 496 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.1116, allocations: 19.92 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1116, allocations: 8.312 kB / 496 MB, free: 5.418 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 (7): * Single equations (assignments): 7 * 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 7.979e-05/0.1117, allocations: 121.8 kB / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1118, allocations: 7.906 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.1121, allocations: 162 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1121, allocations: 0 / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1121, allocations: 4 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1121, allocations: 3.938 kB / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.1126, allocations: 422.4 kB / 496.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1127, allocations: 0 / 496.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.1127, allocations: 23.98 kB / 496.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1128, allocations: 7.922 kB / 496.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1128, allocations: 3.938 kB / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1128, allocations: 0 / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1128, allocations: 0 / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1131, allocations: 239.3 kB / 497 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1132, allocations: 85.02 kB / 497.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1132, allocations: 11.94 kB / 497.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1133, allocations: 11.98 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1133, allocations: 7.984 kB / 497.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.1133, allocations: 4 kB / 497.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.1134, allocations: 99.27 kB / 497.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1134, allocations: 0 / 497.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.1137, allocations: 31.98 kB / 497.3 MB, free: 4.09 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 (7): * Single equations (assignments): 7 * 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.0008397/0.1145, allocations: 451.2 kB / 497.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.1148, allocations: 103.9 kB / 497.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1148, allocations: 0 / 497.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1149, allocations: 59.97 kB / 497.9 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1152, allocations: 15.92 kB / 497.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1156, allocations: 231 kB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1159, allocations: 0.7043 MB / 498.8 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.116, allocations: 15.44 kB / 498.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.116, allocations: 0 / 498.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of Templates: time 0.00303/0.119, allocations: 1.785 MB / 0.4889 GB, free: 0.7188 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches