Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.828/1.828, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008845/0.0008844, allocations: 99.06 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.4703/0.4703, allocations: 43.57 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006518/0.0006518, allocations: 12 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1943, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003419/0.1978, allocations: 1.301 MB / 491.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.1987, allocations: 303.8 kB / 491.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1989, allocations: 4 kB / 491.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1997, allocations: 439.2 kB / 492.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.2002, allocations: 243.5 kB / 492.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.2006, allocations: 99.88 kB / 492.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.201, allocations: 115.7 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2011, allocations: 20.16 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.2014, allocations: 99.73 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.2017, allocations: 163.8 kB / 493 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2017, allocations: 4 kB / 493 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2018, allocations: 31.91 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.202, allocations: 75.75 kB / 493.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.2021, allocations: 69.52 kB / 493.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.2025, allocations: 179.7 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.2025, allocations: 0 / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.076e-06/0.2025, allocations: 0 / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.2026, allocations: 7.938 kB / 493.4 MB, free: 7.836 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.001253/0.2038, allocations: 0.5874 MB / 493.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.2039, allocations: 12.02 kB / 494 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.2041, allocations: 43.39 kB / 494 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.2046, allocations: 275.4 kB / 494.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2046, allocations: 0 / 494.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.2046, allocations: 8 kB / 494.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2049, allocations: 49.69 kB / 494.3 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2049, allocations: 3.938 kB / 494.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2049, allocations: 7.984 kB / 494.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2049, allocations: 8 kB / 494.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.2051, allocations: 31.92 kB / 494.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.2059, allocations: 380.7 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.2062, allocations: 50.5 kB / 494.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.2063, allocations: 16.86 kB / 494.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.2064, allocations: 0 / 494.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.2064, allocations: 38.59 kB / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2064, allocations: 0 / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009692/0.2074, allocations: 240 kB / 495.1 MB, free: 5.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2075, allocations: 51.41 kB / 495.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.2088, allocations: 0.8612 MB / 496 MB, free: 5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2088, allocations: 33.7 kB / 496 MB, free: 4.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.2091, allocations: 216.1 kB / 496.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2091, allocations: 15.66 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.2091, allocations: 0 / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.2093, allocations: 366.8 kB / 496.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.2095, allocations: 23.98 kB / 496.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.2096, allocations: 19.98 kB / 496.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2097, allocations: 24 kB / 496.7 MB, free: 4.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2097, allocations: 7.922 kB / 496.7 MB, free: 4.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002979/0.21, allocations: 121.1 kB / 496.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.21, allocations: 7.953 kB / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.21, allocations: 0 / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2101, allocations: 4 kB / 496.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.2102, allocations: 11.98 kB / 496.8 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2102, allocations: 4 kB / 496.8 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.2103, allocations: 4 kB / 496.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2103, allocations: 8 kB / 496.8 MB, free: 4.125 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.000269/0.2106, allocations: 209.8 kB / 497 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.2107, allocations: 43.44 kB / 497.1 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.211, allocations: 145 kB / 497.2 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2111, allocations: 4 kB / 497.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2111, allocations: 0 / 497.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2111, allocations: 0 / 497.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.2118, allocations: 458.9 kB / 497.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2119, allocations: 7.953 kB / 497.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.2119, allocations: 23.92 kB / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.212, allocations: 0 / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.212, allocations: 0 / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.212, allocations: 0 / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.212, allocations: 0 / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.2123, allocations: 223 kB / 497.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.2124, allocations: 108.6 kB / 498 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.2125, allocations: 8 kB / 498 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2126, allocations: 7.984 kB / 498.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2127, allocations: 0 / 498.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2127, allocations: 4 kB / 498.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008647/0.2136, allocations: 0.6472 MB / 498.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2136, allocations: 0 / 498.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.214, allocations: 24 kB / 498.7 MB, free: 2.133 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.001149/0.2151, allocations: 424.2 kB / 499.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.2154, allocations: 51.97 kB / 499.2 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2154, allocations: 4 kB / 499.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2155, allocations: 23.98 kB / 499.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.216, allocations: 25.95 kB / 499.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2176, allocations: 0.8545 MB / 0.4884 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2643/0.4819, allocations: 0.8161 MB / 0.4892 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.482, allocations: 11.62 kB / 0.4892 GB, free: 42.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.482, allocations: 2.375 kB / 0.4892 GB, free: 42.75 MB / 378.7 MB Notification: Performance of Templates: time 0.007419/0.4895, allocations: 3.584 MB / 0.4927 GB, free: 42.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches