Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 96.23 kB / 16.3 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 182.1 kB / 17.19 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.1 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9654/0.9654, allocations: 120.5 MB / 412.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003643, allocations: 16 kB / 0.4942 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 82.83 MB / 0.5751 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001609/0.2066, allocations: 0.9445 MB / 0.576 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.2068, allocations: 47.89 kB / 0.576 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.2069, allocations: 0 / 0.576 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.807e-05/0.207, allocations: 3.984 kB / 0.576 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.207, allocations: 7.984 kB / 0.576 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.2073, allocations: 23.97 kB / 0.5761 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.2077, allocations: 287.5 kB / 0.5763 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.2077, allocations: 11.97 kB / 0.5763 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.208, allocations: 143.8 kB / 0.5765 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.2083, allocations: 131.8 kB / 0.5766 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.2084, allocations: 24 kB / 0.5766 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.2084, allocations: 24 kB / 0.5767 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2086, allocations: 119.7 kB / 0.5768 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2087, allocations: 65.58 kB / 0.5768 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.209, allocations: 179.8 kB / 0.577 GB, free: 6.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.209, allocations: 4 kB / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.209, allocations: 0 / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.209, allocations: 0 / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001682/0.2107, allocations: 0.722 MB / 0.5777 GB, free: 5.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2107, allocations: 12.02 kB / 0.5777 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2109, allocations: 27.77 kB / 0.5777 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.2113, allocations: 234.8 kB / 0.578 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.2113, allocations: 28.56 kB / 0.578 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2114, allocations: 59.8 kB / 0.5781 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.212, allocations: 328.6 kB / 0.5784 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.2121, allocations: 7.906 kB / 0.5784 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.2121, allocations: 12 kB / 0.5784 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2121, allocations: 4 kB / 0.5784 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.2125, allocations: 226 kB / 0.5786 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.2132, allocations: 475.9 kB / 0.5791 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.2141, allocations: 482.7 kB / 0.5795 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.2141, allocations: 8.562 kB / 0.5795 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2142, allocations: 43.06 kB / 0.5796 GB, free: 3.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.074e-06/0.2142, allocations: 0 / 0.5796 GB, free: 3.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.003878/0.2181, allocations: 1.241 MB / 0.5808 GB, free: 2.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.2182, allocations: 63.97 kB / 0.5808 GB, free: 1.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2183, allocations: 109.8 kB / 0.5809 GB, free: 1.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.2183, allocations: 37.7 kB / 0.581 GB, free: 1.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.2184, allocations: 93.45 kB / 0.5811 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2187, allocations: 252.3 kB / 0.5813 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.2187, allocations: 19.94 kB / 0.5813 GB, free: 1.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.2189, allocations: 346.8 kB / 0.5817 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.2194, allocations: 253.8 kB / 0.5819 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.22, allocations: 428.9 kB / 0.5823 GB, free: 380 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.2205, allocations: 322 kB / 0.5826 GB, free: 56 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2206, allocations: 0 / 0.5826 GB, free: 56 kB / 446.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.5601/0.7807, allocations: 1.007 MB / 0.5836 GB, free: 15.87 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.7808, allocations: 6.969 kB / 0.5836 GB, free: 15.87 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.7808, allocations: 9.188 kB / 0.5836 GB, free: 15.87 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.7822, allocations: 289.7 kB / 0.5839 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.7828, allocations: 162.3 kB / 0.5841 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.7875, allocations: 2.981 MB / 0.587 GB, free: 14.58 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.7878, allocations: 57.06 kB / 0.587 GB, free: 14.57 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.7878, allocations: 29.47 kB / 0.587 GB, free: 14.57 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.7881, allocations: 182.3 kB / 0.5872 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.7881, allocations: 20.78 kB / 0.5872 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.7883, allocations: 64.34 kB / 0.5873 GB, free: 14.42 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.7883, allocations: 9.781 kB / 0.5873 GB, free: 14.42 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.7883, allocations: 3.875 kB / 0.5873 GB, free: 14.42 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.7883, allocations: 3.656 kB / 0.5873 GB, free: 14.42 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.789, allocations: 450.8 kB / 0.5877 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.789, allocations: 0.7812 kB / 0.5877 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.7897, allocations: 133 kB / 0.5879 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.791, allocations: 294.9 kB / 0.5882 GB, free: 14.2 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.7911, allocations: 29.59 kB / 0.5882 GB, free: 14.2 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.7954, allocations: 2.963 MB / 0.5911 GB, free: 12.46 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7954, allocations: 4.984 kB / 0.5911 GB, free: 12.45 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.7978, allocations: 1.125 MB / 0.5922 GB, free: 12.09 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.7978, allocations: 105.6 kB / 0.5923 GB, free: 11.98 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.7979, allocations: 34.34 kB / 0.5923 GB, free: 11.96 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.7981, allocations: 11.14 kB / 0.5923 GB, free: 11.96 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.7982, allocations: 42.73 kB / 0.5924 GB, free: 11.95 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.7983, allocations: 16.48 kB / 0.5924 GB, free: 11.95 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.7983, allocations: 83.03 kB / 0.5925 GB, free: 11.87 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7983, allocations: 1.188 kB / 0.5925 GB, free: 11.87 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006654/0.799, allocations: 141 kB / 0.5926 GB, free: 11.85 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.7992, allocations: 132.5 kB / 0.5927 GB, free: 11.74 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.8011, allocations: 0.8866 MB / 0.5936 GB, free: 11.43 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8011, allocations: 0 / 0.5936 GB, free: 11.43 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8023, allocations: 0.5527 MB / 0.5941 GB, free: 11.21 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.8024, allocations: 21.28 kB / 0.5941 GB, free: 11.19 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.8064, allocations: 3.49 MB / 0.5976 GB, free: 8.777 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.8067, allocations: 0.8211 MB / 0.5984 GB, free: 8.074 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.8071, allocations: 144 kB / 0.5985 GB, free: 8.059 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.8071, allocations: 26.06 kB / 0.5985 GB, free: 8.051 MB / 446.3 MB Notification: Performance of SimCode: time 3.91e-07/0.8071, allocations: 4 kB / 0.5985 GB, free: 8.047 MB / 446.3 MB Notification: Performance of Templates: time 0.01168/0.8188, allocations: 4.879 MB / 0.6033 GB, free: 6.586 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches