Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.95 kB / 16.65 MB, free: 6.586 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.00119/0.00119, allocations: 185.6 kB / 17.57 MB, free: 6.203 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.393/1.393, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.101/1.101, allocations: 120.5 MB / 413.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003267, allocations: 8 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5857, allocations: 82.83 MB / 0.5758 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001165/0.587, allocations: 0.9253 MB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.5871, allocations: 45.7 kB / 0.5767 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.5872, allocations: 1.406 kB / 0.5767 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.031e-05/0.5873, allocations: 0 / 0.5767 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.5873, allocations: 2.688 kB / 0.5767 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.5875, allocations: 20.72 kB / 0.5768 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.5876, allocations: 82.91 kB / 0.5768 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.5877, allocations: 9.156 kB / 0.5769 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.5877, allocations: 26.23 kB / 0.5769 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.5878, allocations: 28.33 kB / 0.5769 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.5879, allocations: 2.062 kB / 0.5769 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.5879, allocations: 7.219 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.5879, allocations: 14.58 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.588, allocations: 54.52 kB / 0.577 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.588, allocations: 30 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5881, allocations: 0 / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5881, allocations: 1.219 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.5881, allocations: 0 / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004425/0.5885, allocations: 364.4 kB / 0.5774 GB, free: 40.03 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5886, allocations: 8.875 kB / 0.5774 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.5886, allocations: 4.125 kB / 0.5774 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5887, allocations: 175.8 kB / 0.5775 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5887, allocations: 3.906 kB / 0.5775 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.5888, allocations: 17.38 kB / 0.5776 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5889, allocations: 69.41 kB / 0.5776 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5889, allocations: 1.156 kB / 0.5776 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5889, allocations: 7.938 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.589, allocations: 1 kB / 0.5776 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.589, allocations: 29.41 kB / 0.5777 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.5892, allocations: 186.2 kB / 0.5778 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.5893, allocations: 66.77 kB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.5894, allocations: 39.92 kB / 0.5779 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.5894, allocations: 5.312 kB / 0.5779 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.5894, allocations: 31.97 kB / 0.578 GB, free: 39.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.5894, allocations: 0 / 0.578 GB, free: 39.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002159/0.5896, allocations: 115 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.5897, allocations: 52.5 kB / 0.5781 GB, free: 39.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.5897, allocations: 101.8 kB / 0.5782 GB, free: 39.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5897, allocations: 31.23 kB / 0.5783 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.5898, allocations: 81.48 kB / 0.5783 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.5898, allocations: 39.91 kB / 0.5784 GB, free: 39.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.5898, allocations: 23.06 kB / 0.5784 GB, free: 38.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.5899, allocations: 321 kB / 0.5787 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.5899, allocations: 41.14 kB / 0.5787 GB, free: 38.65 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.59, allocations: 73.22 kB / 0.5788 GB, free: 38.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5902, allocations: 125.3 kB / 0.5789 GB, free: 38.5 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5902, allocations: 1.781 kB / 0.5789 GB, free: 38.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001856/0.5904, allocations: 147.6 kB / 0.5791 GB, free: 38.42 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5904, allocations: 8.844 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5904, allocations: 1.312 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5904, allocations: 7.625 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5906, allocations: 30.42 kB / 0.5791 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5906, allocations: 5.641 kB / 0.5791 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.5907, allocations: 15.62 kB / 0.5791 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5907, allocations: 8.969 kB / 0.5792 GB, free: 38.39 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 16 * 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 5.917e-05/0.5907, allocations: 117.6 kB / 0.5793 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.5908, allocations: 6.5 kB / 0.5793 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.5908, allocations: 13.3 kB / 0.5793 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5908, allocations: 4 kB / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5908, allocations: 1.406 kB / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5908, allocations: 0 / 0.5793 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.237e-05/0.5909, allocations: 178.5 kB / 0.5795 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5909, allocations: 0 / 0.5795 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5911, allocations: 31.02 kB / 0.5795 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5911, allocations: 3.938 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5911, allocations: 11.33 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5911, allocations: 0 / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5911, allocations: 1 kB / 0.5795 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.5914, allocations: 149.8 kB / 0.5796 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.5914, allocations: 85.89 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.5914, allocations: 11.55 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.5915, allocations: 1.125 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.5915, allocations: 2.312 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5915, allocations: 2.281 kB / 0.5797 GB, free: 37.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.5915, allocations: 81.58 kB / 0.5798 GB, free: 37.72 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5915, allocations: 3.938 kB / 0.5798 GB, free: 37.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001963/0.5917, allocations: 22.62 kB / 0.5798 GB, free: 37.71 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[4],v[1],v[2],v[3],v[4]) * 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 (8): * Single equations (assignments): 8 * 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 7.516e-05/0.5918, allocations: 102.4 kB / 0.5799 GB, free: 37.61 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.592, allocations: 83.23 kB / 0.58 GB, free: 37.58 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.592, allocations: 3.938 kB / 0.58 GB, free: 37.58 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.592, allocations: 33.08 kB / 0.5801 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.5922, allocations: 11.83 kB / 0.5801 GB, free: 37.56 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.593, allocations: 0.7499 MB / 0.5808 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.5932, allocations: 0.6915 MB / 0.5815 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.5932, allocations: 29.14 kB / 0.5815 GB, free: 36.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.5933, allocations: 11.56 kB / 0.5815 GB, free: 36.19 MB / 462.3 MB Notification: Performance of SimCode: time 3.2e-07/0.5933, allocations: 0 / 0.5815 GB, free: 36.19 MB / 462.3 MB Notification: Performance of Templates: time 0.002479/0.5957, allocations: 0.633 MB / 0.5821 GB, free: 35.89 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches