Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009817/0.0009817, allocations: 181.9 kB / 16.41 MB, free: 5.57 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.59/1.59, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.0008946/0.0008946, allocations: 91.81 kB / 270.9 MB, free: 8.371 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.5118/0.5118, allocations: 43.55 MB / 362.7 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.000546, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1878, allocations: 58.86 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002741/0.1906, allocations: 1.259 MB / 491.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1926, allocations: 0.8636 MB / 492.4 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.1927, allocations: 0 / 492.4 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.193, allocations: 27.91 kB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1933, allocations: 31.84 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1938, allocations: 59.92 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1941, allocations: 55.78 kB / 492.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1942, allocations: 15.97 kB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1944, allocations: 19.88 kB / 492.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1946, allocations: 23.91 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.1947, allocations: 0 / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.1949, allocations: 43.92 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.195, allocations: 11.97 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1951, allocations: 33.64 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1954, allocations: 55.91 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.1955, allocations: 4 kB / 492.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.598e-06/0.1955, allocations: 4 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1955, allocations: 0 / 492.7 MB, free: 8.473 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.0009386/0.1964, allocations: 371.4 kB / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.028e-05/0.1965, allocations: 12.02 kB / 493.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1967, allocations: 11.86 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.1971, allocations: 183 kB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1971, allocations: 0 / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.1971, allocations: 4 kB / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1974, allocations: 71.33 kB / 493.4 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1975, allocations: 3.906 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1975, allocations: 0 / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1975, allocations: 4 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1977, allocations: 27.94 kB / 493.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1983, allocations: 273 kB / 493.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1986, allocations: 46.5 kB / 493.7 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.1987, allocations: 20.94 kB / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1987, allocations: 0 / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1988, allocations: 34.56 kB / 493.8 MB, free: 7.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1988, allocations: 0 / 493.8 MB, free: 7.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008663/0.1996, allocations: 153.3 kB / 493.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.1997, allocations: 81.11 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1999, allocations: 129.8 kB / 494.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2, allocations: 29.7 kB / 494.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.2001, allocations: 92.05 kB / 494.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2001, allocations: 23.73 kB / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.2001, allocations: 0 / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2003, allocations: 314.8 kB / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2004, allocations: 27.98 kB / 494.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2006, allocations: 37.77 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.2007, allocations: 19.98 kB / 494.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2007, allocations: 4.031 kB / 494.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002742/0.201, allocations: 93.52 kB / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.201, allocations: 11.89 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.201, allocations: 3.984 kB / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2011, allocations: 0 / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.2012, allocations: 16 kB / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2012, allocations: 0 / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.2013, allocations: 11.98 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2013, allocations: 0 / 494.8 MB, free: 6.168 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.0001593/0.2014, allocations: 113.8 kB / 494.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.2015, allocations: 4.281 kB / 494.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.2019, allocations: 109.4 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2019, allocations: 3.984 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2019, allocations: 4 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2019, allocations: 0 / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.2026, allocations: 346.6 kB / 495.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2026, allocations: 0 / 495.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.2027, allocations: 23.88 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2027, allocations: 0 / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2027, allocations: 0 / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2027, allocations: 320 / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2027, allocations: 0 / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2031, allocations: 183.5 kB / 495.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.2032, allocations: 93 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2032, allocations: 3.953 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2033, allocations: 4 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.2034, allocations: 7.984 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2034, allocations: 4 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2035, allocations: 103.8 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2035, allocations: 0 / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.2039, allocations: 23.98 kB / 495.8 MB, free: 5.059 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.001413/0.2054, allocations: 456 kB / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.2057, allocations: 47.97 kB / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2057, allocations: 0 / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.2058, allocations: 27.98 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2063, allocations: 31.8 kB / 496.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.2068, allocations: 194.4 kB / 496.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2072, allocations: 0.6887 MB / 497.2 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-05/0.2073, allocations: 15.42 kB / 497.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2073, allocations: 4 kB / 497.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004617/0.212, allocations: 1.536 MB / 498.8 MB, free: 2.059 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches