Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008665, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009744/0.0009743, allocations: 183.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3963/0.3963, allocations: 43.57 MB / 315 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007251/0.0007255, allocations: 16 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1873, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002871/0.1902, allocations: 1.271 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1913, allocations: 307.7 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.1914, allocations: 3.938 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1918, allocations: 19.92 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.192, allocations: 31.91 kB / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1924, allocations: 63.86 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1926, allocations: 51.84 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1928, allocations: 19.97 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.1929, allocations: 23.86 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.193, allocations: 11.92 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.193, allocations: 3.938 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1931, allocations: 28 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.1932, allocations: 19.91 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.1933, allocations: 45.52 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1936, allocations: 76 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.1936, allocations: 0 / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1937, allocations: 0 / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1937, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 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.0007936/0.1945, allocations: 367.2 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.1946, allocations: 8.031 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1946, allocations: 8.844 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1949, allocations: 192.2 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.195, allocations: 384 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.195, allocations: 8.375 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1953, allocations: 53.81 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1953, allocations: 3.984 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1953, allocations: 0 / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1953, allocations: 0 / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1954, allocations: 27.97 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.196, allocations: 272.9 kB / 446.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1963, allocations: 46.55 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.1964, allocations: 20.86 kB / 446.4 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1965, allocations: 3.938 kB / 446.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1965, allocations: 30.56 kB / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1965, allocations: 0 / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007421/0.1973, allocations: 165.3 kB / 446.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1973, allocations: 51.41 kB / 446.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1975, allocations: 161.2 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1975, allocations: 25.7 kB / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.1976, allocations: 100 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1977, allocations: 19.75 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1977, allocations: 9.719 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1979, allocations: 322.8 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.198, allocations: 27.98 kB / 447.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1981, allocations: 27.92 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1982, allocations: 49.02 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1983, allocations: 0 / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002021/0.1985, allocations: 93.58 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1985, allocations: 7.938 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1985, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1985, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.1986, allocations: 15.98 kB / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1986, allocations: 0 / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.1987, allocations: 16 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1987, allocations: 3.938 kB / 447.5 MB, free: 8.367 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/0.1988, allocations: 125.8 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1988, allocations: 7.906 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.1991, allocations: 97.97 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1992, allocations: 0 / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1992, allocations: 0 / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1992, allocations: 0 / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.1996, allocations: 354.5 kB / 448.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1996, allocations: 4 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.1997, allocations: 15.98 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1997, allocations: 0 / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1997, allocations: 0 / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.1997, allocations: 7.938 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1997, allocations: 3.938 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2, allocations: 187.6 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.2001, allocations: 89 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2001, allocations: 0 / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.2002, allocations: 11.94 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2002, allocations: 7.984 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2002, allocations: 0 / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.2003, allocations: 123.2 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2004, allocations: 0 / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2006, allocations: 12 kB / 448.5 MB, free: 7.234 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.2018, allocations: 410.2 kB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.202, allocations: 59.97 kB / 449 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.202, allocations: 0 / 449 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.2021, allocations: 31.92 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2025, allocations: 11.98 kB / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.203, allocations: 196.6 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2034, allocations: 0.6965 MB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.2034, allocations: 11.97 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.2035, allocations: 11.44 kB / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2035, allocations: 0 / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of Templates: time 0.004387/0.2079, allocations: 1.015 MB / 451 MB, free: 4.773 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches