Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009438/0.0009442, allocations: 175.1 kB / 16.72 MB, free: 4.961 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.292/1.292, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007795/0.0007798, allocations: 86.36 kB / 271.2 MB, free: 8.238 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.2919/0.2919, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002319/0.1087, allocations: 1.305 MB / 492.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005567/0.1093, allocations: 335.7 kB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1093, allocations: 4 kB / 492.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1099, allocations: 439.2 kB / 492.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1102, allocations: 235.5 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1105, allocations: 143.8 kB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1107, allocations: 127.7 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1109, allocations: 24.16 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.111, allocations: 107.7 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1112, allocations: 163.7 kB / 493.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1112, allocations: 0 / 493.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.1113, allocations: 31.98 kB / 493.7 MB, free: 8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.1114, allocations: 79.75 kB / 493.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.1115, allocations: 112.8 kB / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1117, allocations: 188 kB / 494.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1117, allocations: 0 / 494.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1117, allocations: 3.938 kB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1117, allocations: 0 / 494.1 MB, free: 7.617 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.0006197/0.1123, allocations: 0.5833 MB / 494.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1124, allocations: 12.03 kB / 494.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1124, allocations: 36.47 kB / 494.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1127, allocations: 304.1 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1127, allocations: 4.375 kB / 495 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1128, allocations: 8.375 kB / 495 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1129, allocations: 57.61 kB / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1129, allocations: 0 / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.113, allocations: 4 kB / 495.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.113, allocations: 0 / 495.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.1131, allocations: 31.97 kB / 495.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1136, allocations: 396.6 kB / 495.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1137, allocations: 54.55 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.1138, allocations: 12.86 kB / 495.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1138, allocations: 4 kB / 495.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1139, allocations: 38.64 kB / 495.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.966e-06/0.1139, allocations: 0 / 495.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005701/0.1144, allocations: 247.9 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1145, allocations: 55.41 kB / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.1153, allocations: 0.8651 MB / 496.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1153, allocations: 25.7 kB / 496.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1155, allocations: 224 kB / 497 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1155, allocations: 19.88 kB / 497 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1155, allocations: 3.938 kB / 497 MB, free: 4.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1157, allocations: 358.8 kB / 497.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1158, allocations: 31.97 kB / 497.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.1159, allocations: 23.98 kB / 497.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.116, allocations: 69.02 kB / 497.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.116, allocations: 0 / 497.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002078/0.1162, allocations: 129.1 kB / 497.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1163, allocations: 4 kB / 497.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1163, allocations: 0 / 497.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1163, allocations: 4 kB / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.1164, allocations: 15.94 kB / 497.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1164, allocations: 0 / 497.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.1164, allocations: 15.92 kB / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1164, allocations: 0 / 497.7 MB, free: 3.801 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 0.0001769/0.1166, allocations: 217.8 kB / 497.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1167, allocations: 43.44 kB / 497.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1169, allocations: 149 kB / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.117, allocations: 0 / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.117, allocations: 0 / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.117, allocations: 3.938 kB / 498.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1175, allocations: 470.4 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1175, allocations: 0 / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.1175, allocations: 15.98 kB / 498.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1176, allocations: 0 / 498.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1176, allocations: 3.938 kB / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1176, allocations: 4 kB / 498.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1176, allocations: 4.188 kB / 498.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1178, allocations: 231.2 kB / 498.8 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.1179, allocations: 104.6 kB / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1179, allocations: 15.92 kB / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.118, allocations: 11.98 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.118, allocations: 0 / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1181, allocations: 4 kB / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005489/0.1186, allocations: 0.6511 MB / 499.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1186, allocations: 0 / 499.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.1189, allocations: 24 kB / 499.6 MB, free: 1.766 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.0007795/0.1197, allocations: 402.7 kB / 500 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1199, allocations: 67.89 kB / 0.4883 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1199, allocations: 0 / 0.4883 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.12, allocations: 31.98 kB / 0.4884 GB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1203, allocations: 29.89 kB / 0.4884 GB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.1212, allocations: 0.8663 MB / 0.4892 GB, free: 384 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1551/0.2764, allocations: 0.8163 MB / 0.49 GB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.2765, allocations: 15.81 kB / 0.49 GB, free: 42.76 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2765, allocations: 0.7656 kB / 0.4901 GB, free: 42.76 MB / 378.7 MB Notification: Performance of Templates: time 0.00708/0.2836, allocations: 3.632 MB / 0.4936 GB, free: 42.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches