Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 107.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8344/0.8344, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.92 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1703, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.003072/0.1735, allocations: 1.305 MB / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.1737, allocations: 35.94 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.1738, allocations: 7.938 kB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1739, allocations: 3.938 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.198e-05/0.174, allocations: 11.97 kB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1742, allocations: 19.97 kB / 0.6193 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1745, allocations: 247.7 kB / 0.6195 GB, free: 11.09 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1746, allocations: 4 kB / 0.6195 GB, free: 11.09 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1747, allocations: 87.86 kB / 0.6196 GB, free: 11 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1749, allocations: 75.83 kB / 0.6197 GB, free: 10.93 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.175, allocations: 12 kB / 0.6197 GB, free: 10.91 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.175, allocations: 12 kB / 0.6197 GB, free: 10.9 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.1751, allocations: 59.86 kB / 0.6197 GB, free: 10.84 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1752, allocations: 75.73 kB / 0.6198 GB, free: 10.77 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1754, allocations: 111.9 kB / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1754, allocations: 0 / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1754, allocations: 4 kB / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1754, allocations: 0 / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001076/0.1765, allocations: 0.5304 MB / 0.6204 GB, free: 10.07 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1766, allocations: 8.031 kB / 0.6204 GB, free: 10.07 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1766, allocations: 12.84 kB / 0.6205 GB, free: 10.05 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1769, allocations: 212.1 kB / 0.6207 GB, free: 9.809 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.177, allocations: 12.38 kB / 0.6207 GB, free: 9.797 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.177, allocations: 28.28 kB / 0.6207 GB, free: 9.77 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.1774, allocations: 186 kB / 0.6209 GB, free: 9.582 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1774, allocations: 4.188 kB / 0.6209 GB, free: 9.578 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1774, allocations: 7.938 kB / 0.6209 GB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1774, allocations: 4 kB / 0.6209 GB, free: 9.566 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1776, allocations: 103.9 kB / 0.621 GB, free: 9.465 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.178, allocations: 317.3 kB / 0.6213 GB, free: 9.105 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.1786, allocations: 267.1 kB / 0.6215 GB, free: 8.836 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1788, allocations: 120.8 kB / 0.6217 GB, free: 8.715 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1788, allocations: 11.94 kB / 0.6217 GB, free: 8.703 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1789, allocations: 34.56 kB / 0.6217 GB, free: 8.66 MB / 442.8 MB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.1789, allocations: 0 / 0.6217 GB, free: 8.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=30): time 0.001733/0.1806, allocations: 0.634 MB / 0.6223 GB, free: 7.996 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1807, allocations: 55.39 kB / 0.6224 GB, free: 7.93 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.1808, allocations: 101.9 kB / 0.6225 GB, free: 7.82 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1808, allocations: 41.62 kB / 0.6225 GB, free: 7.773 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.1808, allocations: 88.8 kB / 0.6226 GB, free: 7.68 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.1809, allocations: 118.2 kB / 0.6227 GB, free: 7.562 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1811, allocations: 82.14 kB / 0.6228 GB, free: 7.477 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1812, allocations: 330.8 kB / 0.6231 GB, free: 7.145 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1814, allocations: 124.8 kB / 0.6232 GB, free: 7.023 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.1817, allocations: 213.7 kB / 0.6234 GB, free: 6.781 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.1821, allocations: 373.1 kB / 0.6238 GB, free: 6.383 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.1822, allocations: 7.938 kB / 0.6238 GB, free: 6.375 MB / 442.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001044/0.1832, allocations: 0.5223 MB / 0.6243 GB, free: 5.844 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1832, allocations: 4 kB / 0.6243 GB, free: 5.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1832, allocations: 4 kB / 0.6243 GB, free: 5.836 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.1839, allocations: 156.7 kB / 0.6245 GB, free: 5.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1842, allocations: 79.91 kB / 0.6245 GB, free: 5.602 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.1866, allocations: 1.991 MB / 0.6265 GB, free: 3.477 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1868, allocations: 31.69 kB / 0.6265 GB, free: 3.445 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.1868, allocations: 16.28 kB / 0.6265 GB, free: 3.43 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.187, allocations: 142.3 kB / 0.6267 GB, free: 3.281 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.187, allocations: 15.91 kB / 0.6267 GB, free: 3.266 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.1871, allocations: 41.08 kB / 0.6267 GB, free: 3.227 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1871, allocations: 8.062 kB / 0.6267 GB, free: 3.219 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1871, allocations: 0 / 0.6267 GB, free: 3.219 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1871, allocations: 0 / 0.6267 GB, free: 3.219 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1874, allocations: 305.3 kB / 0.627 GB, free: 2.871 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1874, allocations: 4 kB / 0.627 GB, free: 2.867 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.1878, allocations: 59.97 kB / 0.6271 GB, free: 2.809 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005796/0.1884, allocations: 152.6 kB / 0.6272 GB, free: 2.656 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.1885, allocations: 19.92 kB / 0.6272 GB, free: 2.637 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.1906, allocations: 1.984 MB / 0.6292 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1906, allocations: 0 / 0.6292 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008213/0.1989, allocations: 5.609 MB / 0.6347 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.199, allocations: 92.95 kB / 0.6347 GB, free: 10.51 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.199, allocations: 11.98 kB / 0.6348 GB, free: 10.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1991, allocations: 8 kB / 0.6348 GB, free: 10.49 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.1992, allocations: 19.91 kB / 0.6348 GB, free: 10.47 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1992, allocations: 15.94 kB / 0.6348 GB, free: 10.45 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.1993, allocations: 79.27 kB / 0.6349 GB, free: 10.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1993, allocations: 4.062 kB / 0.6349 GB, free: 10.37 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004849/0.1998, allocations: 108 kB / 0.635 GB, free: 10.27 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.1999, allocations: 111.2 kB / 0.6351 GB, free: 10.15 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.201, allocations: 0.4905 MB / 0.6356 GB, free: 9.645 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.201, allocations: 0 / 0.6356 GB, free: 9.645 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.2016, allocations: 330.3 kB / 0.6359 GB, free: 9.309 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.2018, allocations: 12.56 kB / 0.6359 GB, free: 9.297 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.2044, allocations: 1.956 MB / 0.6378 GB, free: 7.293 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2047, allocations: 0.7485 MB / 0.6385 GB, free: 6.516 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.2049, allocations: 81.86 kB / 0.6386 GB, free: 6.434 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.205, allocations: 19.44 kB / 0.6386 GB, free: 6.414 MB / 458.8 MB Notification: Performance of SimCode: time 3.1e-07/0.205, allocations: 0 / 0.6386 GB, free: 6.414 MB / 458.8 MB Notification: Performance of Templates: time 0.007972/0.213, allocations: 4.249 MB / 0.6428 GB, free: 2.207 MB / 458.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches