Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001098/0.001098, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001181/0.001181, allocations: 183.5 kB / 17.21 MB, free: 6.316 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.399/1.399, allocations: 223.3 MB / 241.2 MB, free: 14.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.896/0.896, allocations: 120.5 MB / 412.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 8 kB / 0.4943 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5948, allocations: 82.83 MB / 0.5752 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001112/0.596, allocations: 0.9164 MB / 0.576 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.5962, allocations: 32.94 kB / 0.5761 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.5962, allocations: 0 / 0.5761 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.699e-05/0.5963, allocations: 6.031 kB / 0.5761 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.5964, allocations: 18.03 kB / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.5965, allocations: 11.3 kB / 0.5761 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.5967, allocations: 74.19 kB / 0.5762 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.5967, allocations: 3.938 kB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.5968, allocations: 25.23 kB / 0.5762 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.5968, allocations: 33.05 kB / 0.5762 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5969, allocations: 3.688 kB / 0.5762 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.5969, allocations: 2.344 kB / 0.5762 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.5969, allocations: 14.39 kB / 0.5763 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.597, allocations: 38.92 kB / 0.5763 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.433e-05/0.597, allocations: 19.38 kB / 0.5763 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.597, allocations: 4.938 kB / 0.5763 GB, free: 40.39 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.863e-06/0.597, allocations: 0 / 0.5763 GB, free: 40.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.5971, allocations: 0 / 0.5763 GB, free: 40.39 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.0004667/0.5975, allocations: 368.6 kB / 0.5767 GB, free: 40.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5976, allocations: 9.625 kB / 0.5767 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.5976, allocations: 11.39 kB / 0.5767 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.5978, allocations: 170.3 kB / 0.5769 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5978, allocations: 2.375 kB / 0.5769 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.5978, allocations: 9.344 kB / 0.5769 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.598, allocations: 64.34 kB / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.598, allocations: 9.812 kB / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.598, allocations: 4 kB / 0.5769 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.598, allocations: 5.141 kB / 0.5769 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.5981, allocations: 37.02 kB / 0.577 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.5983, allocations: 182.2 kB / 0.5772 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5984, allocations: 70.78 kB / 0.5772 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.5985, allocations: 31.91 kB / 0.5773 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.5985, allocations: 0 / 0.5773 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5985, allocations: 44.08 kB / 0.5773 GB, free: 39.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5985, allocations: 0 / 0.5773 GB, free: 39.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002296/0.5987, allocations: 108.6 kB / 0.5774 GB, free: 39.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.5988, allocations: 56.44 kB / 0.5775 GB, free: 39.26 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.5988, allocations: 106.2 kB / 0.5776 GB, free: 39.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.5989, allocations: 30.8 kB / 0.5776 GB, free: 39.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.5989, allocations: 81.53 kB / 0.5777 GB, free: 39.03 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.5989, allocations: 39.22 kB / 0.5777 GB, free: 39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5989, allocations: 9.062 kB / 0.5777 GB, free: 38.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.599, allocations: 317.2 kB / 0.578 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.599, allocations: 36.72 kB / 0.578 GB, free: 38.66 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.5991, allocations: 71.05 kB / 0.5781 GB, free: 38.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.5992, allocations: 53.75 kB / 0.5782 GB, free: 38.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5992, allocations: 1.281 kB / 0.5782 GB, free: 38.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001999/0.5994, allocations: 143.1 kB / 0.5783 GB, free: 38.49 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5995, allocations: 5.219 kB / 0.5783 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5995, allocations: 1.469 kB / 0.5783 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5995, allocations: 2.75 kB / 0.5783 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.5997, allocations: 34.92 kB / 0.5783 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.5997, allocations: 2.094 kB / 0.5783 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.5997, allocations: 23.2 kB / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.5998, allocations: 4.938 kB / 0.5784 GB, free: 38.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.5998, allocations: 126.1 kB / 0.5785 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.5998, allocations: 1.938 kB / 0.5785 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.5999, allocations: 13.06 kB / 0.5785 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5999, allocations: 0.8438 kB / 0.5785 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5999, allocations: 0.875 kB / 0.5785 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5999, allocations: 192 / 0.5785 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.6, allocations: 182.6 kB / 0.5787 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6, allocations: 7.984 kB / 0.5787 GB, free: 38.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.6002, allocations: 27.42 kB / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6002, allocations: 0 / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6003, allocations: 6.703 kB / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6003, allocations: 1.219 kB / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.6003, allocations: 0 / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.6005, allocations: 150.6 kB / 0.5789 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.6005, allocations: 86.05 kB / 0.5789 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.6006, allocations: 15.77 kB / 0.579 GB, free: 37.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.6006, allocations: 5.406 kB / 0.579 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.6006, allocations: 6.516 kB / 0.579 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6006, allocations: 1.406 kB / 0.579 GB, free: 37.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.23e-05/0.6007, allocations: 82.03 kB / 0.5791 GB, free: 37.78 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6007, allocations: 0 / 0.5791 GB, free: 37.78 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002003/0.6009, allocations: 13.03 kB / 0.5791 GB, free: 37.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.422e-05/0.601, allocations: 99.28 kB / 0.5792 GB, free: 37.69 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.6011, allocations: 91.73 kB / 0.5793 GB, free: 37.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6012, allocations: 0 / 0.5793 GB, free: 37.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.6012, allocations: 39.97 kB / 0.5793 GB, free: 37.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.6014, allocations: 12.52 kB / 0.5793 GB, free: 37.62 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.6023, allocations: 0.7368 MB / 0.58 GB, free: 36.99 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.6024, allocations: 0.6931 MB / 0.5807 GB, free: 36.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.889e-05/0.6025, allocations: 29.09 kB / 0.5807 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.6025, allocations: 11.09 kB / 0.5807 GB, free: 36.26 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6025, allocations: 0 / 0.5807 GB, free: 36.26 MB / 462.3 MB Notification: Performance of Templates: time 0.002469/0.605, allocations: 0.6186 MB / 0.5813 GB, free: 35.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches