Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 103.3 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.002101/0.002101, allocations: 184.9 kB / 16.92 MB, free: 6.691 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.587/1.587, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.4659/0.4659, allocations: 43.57 MB / 315 MB, free: 9.055 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.000603/0.0006028, allocations: 12.56 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1897, allocations: 58.88 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002549/0.1923, allocations: 1.267 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.1931, allocations: 319.6 kB / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1932, allocations: 0 / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.1936, allocations: 99.8 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1939, allocations: 71.84 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1942, allocations: 67.86 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1944, allocations: 63.88 kB / 445.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1945, allocations: 19.92 kB / 445.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.1946, allocations: 31.83 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1947, allocations: 55.89 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1948, allocations: 0 / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.227e-05/0.1948, allocations: 39.97 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.1949, allocations: 23.92 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.195, allocations: 53.39 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1952, allocations: 107.8 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1952, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1952, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1952, allocations: 0 / 445.6 MB, free: 10.7 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.0005946/0.1958, allocations: 391.1 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.1959, allocations: 8.031 kB / 446 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.196, allocations: 24.75 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1963, allocations: 196.1 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1963, allocations: 4.375 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1963, allocations: 384 / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1965, allocations: 49.81 kB / 446.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1965, allocations: 0 / 446.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1965, allocations: 7.938 kB / 446.3 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1966, allocations: 0 / 446.3 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1967, allocations: 35.91 kB / 446.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1971, allocations: 288.8 kB / 446.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1974, allocations: 42.56 kB / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.1975, allocations: 32.86 kB / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1976, allocations: 0 / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.1976, allocations: 30.56 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1976, allocations: 0 / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007635/0.1984, allocations: 161.2 kB / 446.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.1985, allocations: 55.41 kB / 446.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1988, allocations: 234.7 kB / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1988, allocations: 33.64 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.1989, allocations: 112 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.199, allocations: 23.8 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.199, allocations: 9.719 kB / 447.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1992, allocations: 330.8 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.1993, allocations: 19.98 kB / 447.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.1993, allocations: 24.05 kB / 447.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1995, allocations: 56.84 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.1995, allocations: 0 / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001768/0.1997, allocations: 93.5 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1997, allocations: 8 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1997, allocations: 0 / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1997, allocations: 0 / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.1998, allocations: 15.98 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1998, allocations: 0 / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.1999, allocations: 8 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1999, allocations: 0 / 447.9 MB, free: 8.219 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 0.0001218/0.2, allocations: 137.8 kB / 448 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.2, allocations: 15.81 kB / 448 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.2003, allocations: 98.59 kB / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2003, allocations: 0 / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2003, allocations: 0 / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2004, allocations: 0 / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.2008, allocations: 370.5 kB / 448.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2008, allocations: 0 / 448.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.2009, allocations: 23.86 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2009, allocations: 320 / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2009, allocations: 0 / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2009, allocations: 11.94 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2009, allocations: 0 / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.2012, allocations: 191.3 kB / 448.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.2013, allocations: 81.02 kB / 448.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2013, allocations: 8 kB / 448.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.2014, allocations: 15.92 kB / 448.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2014, allocations: 0 / 448.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2014, allocations: 4 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.2016, allocations: 184.3 kB / 449 MB, free: 6.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2016, allocations: 0 / 449 MB, free: 6.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.2019, allocations: 16 kB / 449 MB, free: 6.969 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.001159/0.203, allocations: 417.9 kB / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2033, allocations: 47.97 kB / 449.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2033, allocations: 0 / 449.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.2034, allocations: 31.98 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.2038, allocations: 27.86 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.2044, allocations: 269.5 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.2048, allocations: 0.7083 MB / 450.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.078e-05/0.2049, allocations: 11.97 kB / 450.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.2049, allocations: 15.44 kB / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2049, allocations: 0 / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of Templates: time 0.004296/0.2092, allocations: 1.055 MB / 451.6 MB, free: 4.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches