Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001201/0.001201, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.001218/0.001218, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.443/1.443, allocations: 223.2 MB / 241.1 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.031/1.031, allocations: 120.5 MB / 412.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 0.4941 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1821, allocations: 82.85 MB / 0.5751 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001507/0.1837, allocations: 0.94 MB / 0.576 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002177/0.1839, allocations: 43.95 kB / 0.576 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.184, allocations: 0 / 0.576 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.304e-05/0.184, allocations: 3.938 kB / 0.576 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.966e-05/0.1841, allocations: 7.984 kB / 0.576 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1843, allocations: 15.97 kB / 0.576 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1846, allocations: 291.6 kB / 0.5763 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.1847, allocations: 4 kB / 0.5763 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.1849, allocations: 147.9 kB / 0.5765 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1852, allocations: 135.7 kB / 0.5766 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.1853, allocations: 24 kB / 0.5766 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.1853, allocations: 24 kB / 0.5766 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1855, allocations: 115.8 kB / 0.5768 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.1856, allocations: 65.58 kB / 0.5768 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1858, allocations: 175.9 kB / 0.577 GB, free: 6.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1858, allocations: 0 / 0.577 GB, free: 6.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1858, allocations: 0 / 0.577 GB, free: 6.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1858, allocations: 0 / 0.577 GB, free: 6.145 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.001558/0.1874, allocations: 0.7259 MB / 0.5777 GB, free: 5.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1874, allocations: 11.97 kB / 0.5777 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.1875, allocations: 27.77 kB / 0.5777 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.1878, allocations: 242.7 kB / 0.578 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.1879, allocations: 36.56 kB / 0.578 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.188, allocations: 55.81 kB / 0.578 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.1886, allocations: 324.7 kB / 0.5784 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.1886, allocations: 15.89 kB / 0.5784 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1887, allocations: 12 kB / 0.5784 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1887, allocations: 4 kB / 0.5784 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.1892, allocations: 218 kB / 0.5786 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.1899, allocations: 471.9 kB / 0.579 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.1907, allocations: 498.6 kB / 0.5795 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1907, allocations: 8.562 kB / 0.5795 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1908, allocations: 39.12 kB / 0.5796 GB, free: 3.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.743e-06/0.1908, allocations: 0 / 0.5796 GB, free: 3.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.003744/0.1945, allocations: 1.237 MB / 0.5808 GB, free: 2.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1946, allocations: 59.97 kB / 0.5808 GB, free: 1.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1947, allocations: 113.8 kB / 0.5809 GB, free: 1.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.1947, allocations: 41.7 kB / 0.581 GB, free: 1.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.1948, allocations: 97.39 kB / 0.5811 GB, free: 1.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.195, allocations: 248.4 kB / 0.5813 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1951, allocations: 16 kB / 0.5813 GB, free: 1.461 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1952, allocations: 350.8 kB / 0.5817 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.1956, allocations: 249.8 kB / 0.5819 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.1962, allocations: 424.9 kB / 0.5823 GB, free: 396 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.1967, allocations: 326 kB / 0.5826 GB, free: 68 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1967, allocations: 0 / 0.5826 GB, free: 68 kB / 446.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.5714/0.7681, allocations: 1.003 MB / 0.5836 GB, free: 15.88 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.7682, allocations: 7.344 kB / 0.5836 GB, free: 15.88 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7682, allocations: 4.781 kB / 0.5836 GB, free: 15.88 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.7697, allocations: 292.3 kB / 0.5839 GB, free: 15.87 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.7703, allocations: 161.1 kB / 0.584 GB, free: 15.86 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.7754, allocations: 2.983 MB / 0.587 GB, free: 14.59 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.7757, allocations: 55.86 kB / 0.587 GB, free: 14.58 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.7758, allocations: 26.91 kB / 0.587 GB, free: 14.58 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.0002202/0.776, allocations: 177.4 kB / 0.5872 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.7761, allocations: 20.86 kB / 0.5872 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.7762, allocations: 65.31 kB / 0.5873 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.7763, allocations: 9.656 kB / 0.5873 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.7763, allocations: 3.312 kB / 0.5873 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7763, allocations: 4.078 kB / 0.5873 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.777, allocations: 451.2 kB / 0.5877 GB, free: 14.24 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.777, allocations: 3.922 kB / 0.5877 GB, free: 14.24 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.7777, allocations: 132.3 kB / 0.5879 GB, free: 14.24 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.7792, allocations: 296.6 kB / 0.5881 GB, free: 14.22 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.7793, allocations: 33.39 kB / 0.5882 GB, free: 14.21 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.7839, allocations: 2.964 MB / 0.5911 GB, free: 12.46 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7839, allocations: 4.766 kB / 0.5911 GB, free: 12.46 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.7863, allocations: 1.126 MB / 0.5922 GB, free: 12.1 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.7864, allocations: 108.9 kB / 0.5923 GB, free: 11.99 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.7865, allocations: 30.69 kB / 0.5923 GB, free: 11.98 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.7867, allocations: 10.81 kB / 0.5923 GB, free: 11.97 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.7869, allocations: 42.33 kB / 0.5924 GB, free: 11.96 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.7869, allocations: 21.17 kB / 0.5924 GB, free: 11.96 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.7869, allocations: 82.95 kB / 0.5925 GB, free: 11.88 MB / 446.3 MB Notification: Performance of sort global known variables: time 9e-08/0.7869, allocations: 0 / 0.5925 GB, free: 11.88 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0007054/0.7877, allocations: 142.1 kB / 0.5926 GB, free: 11.86 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.0002078/0.7879, allocations: 131.7 kB / 0.5927 GB, free: 11.75 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.7899, allocations: 0.8818 MB / 0.5936 GB, free: 11.44 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7899, allocations: 1.5 kB / 0.5936 GB, free: 11.44 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.7911, allocations: 0.5574 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.0001905/0.7913, allocations: 24.16 kB / 0.5941 GB, free: 11.2 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.7958, allocations: 3.489 MB / 0.5976 GB, free: 8.777 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.7962, allocations: 0.8206 MB / 0.5984 GB, free: 8.074 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.7965, allocations: 143.2 kB / 0.5985 GB, free: 8.059 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.7966, allocations: 26.12 kB / 0.5985 GB, free: 8.051 MB / 446.3 MB Notification: Performance of SimCode: time 9.21e-07/0.7966, allocations: 0 / 0.5985 GB, free: 8.051 MB / 446.3 MB Notification: Performance of Templates: time 0.0106/0.8072, allocations: 4.884 MB / 0.6033 GB, free: 6.594 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches