Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 171.3 kB / 16.72 MB, free: 5.055 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.339/1.339, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008255/0.0008255, allocations: 86.7 kB / 271.2 MB, free: 8.254 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.3002/0.3002, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001937/0.1082, allocations: 1.309 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.1088, allocations: 327.7 kB / 492.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1089, allocations: 0 / 492.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1092, allocations: 43.88 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1094, allocations: 47.83 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1098, allocations: 143.7 kB / 492.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.11, allocations: 59.83 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1101, allocations: 19.84 kB / 492.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.1102, allocations: 31.89 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.1103, allocations: 27.86 kB / 492.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1103, allocations: 4 kB / 492.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.1104, allocations: 27.98 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1105, allocations: 23.91 kB / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.1105, allocations: 45.52 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1107, allocations: 68.12 kB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1107, allocations: 0 / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1107, allocations: 0 / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1107, allocations: 0 / 493 MB, free: 8.711 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.0005049/0.1112, allocations: 395.2 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1113, allocations: 8.031 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.1113, allocations: 12.83 kB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1116, allocations: 200 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1116, allocations: 4.375 kB / 493.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1116, allocations: 384 / 493.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1118, allocations: 65.8 kB / 493.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1118, allocations: 4 kB / 493.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1118, allocations: 4 kB / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1119, allocations: 0 / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.112, allocations: 43.97 kB / 493.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1124, allocations: 312.8 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1126, allocations: 50.55 kB / 494.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.1127, allocations: 32.94 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1127, allocations: 0 / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1127, allocations: 30.56 kB / 494.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1127, allocations: 4 kB / 494.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008044/0.1136, allocations: 265.2 kB / 494.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1136, allocations: 51.41 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1138, allocations: 173.6 kB / 494.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1138, allocations: 29.7 kB / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.1138, allocations: 96.12 kB / 494.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1139, allocations: 27.59 kB / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.1139, allocations: 0 / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.114, allocations: 326.8 kB / 495.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1141, allocations: 47.91 kB / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1142, allocations: 47.97 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.1145, allocations: 100.8 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1145, allocations: 0 / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002958/0.1148, allocations: 149.4 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1148, allocations: 7.594 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1148, allocations: 4 kB / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1148, allocations: 0 / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.115, allocations: 27.92 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.115, allocations: 3.938 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.115, allocations: 11.98 kB / 495.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1151, allocations: 4 kB / 495.5 MB, free: 6.008 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 9.151e-05/0.1151, allocations: 133.8 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1152, allocations: 7.906 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1156, allocations: 162.6 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1156, allocations: 0 / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1156, allocations: 3.938 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1156, allocations: 0 / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1161, allocations: 426.4 kB / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1161, allocations: 0 / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.1162, allocations: 23.98 kB / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1162, allocations: 3.938 kB / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1162, allocations: 0 / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1163, allocations: 4 kB / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1163, allocations: 0 / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1166, allocations: 239.3 kB / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1167, allocations: 93.22 kB / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1167, allocations: 0 / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.1168, allocations: 15.98 kB / 496.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1168, allocations: 4 kB / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1168, allocations: 3.984 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1169, allocations: 136 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1169, allocations: 3.938 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.1172, allocations: 24 kB / 496.7 MB, free: 4.645 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.0008189/0.118, allocations: 394 kB / 497.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.1183, allocations: 107.9 kB / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1183, allocations: 0 / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1185, allocations: 55.95 kB / 497.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1188, allocations: 19.94 kB / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1193, allocations: 266.8 kB / 497.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1195, allocations: 0.712 MB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1196, allocations: 15.42 kB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1196, allocations: 0 / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of Templates: time 0.003248/0.1229, allocations: 1.63 MB / 499.9 MB, free: 1.445 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches