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.0008207/0.0008208, allocations: 88.77 kB / 16.31 MB, free: 6.457 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.0008482/0.0008482, allocations: 186.5 kB / 17.21 MB, free: 6.324 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.152/1.152, allocations: 223.3 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7422/0.7422, allocations: 120.5 MB / 412.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002581, allocations: 8 kB / 0.4943 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.408, allocations: 82.84 MB / 0.5752 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.0008835/0.4089, allocations: 0.9194 MB / 0.5761 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.409, allocations: 40.83 kB / 0.5761 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.4091, allocations: 0 / 0.5761 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.4092, allocations: 1.781 kB / 0.5761 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.4092, allocations: 13.72 kB / 0.5761 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.4093, allocations: 15.69 kB / 0.5761 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.4094, allocations: 68.33 kB / 0.5762 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.4095, allocations: 7.969 kB / 0.5762 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.4095, allocations: 22.28 kB / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.4096, allocations: 32.78 kB / 0.5763 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.4096, allocations: 2.688 kB / 0.5763 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.4096, allocations: 2.656 kB / 0.5763 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.4096, allocations: 22.36 kB / 0.5763 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.4097, allocations: 34.58 kB / 0.5763 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 3.888e-05/0.4097, allocations: 19.72 kB / 0.5763 GB, free: 41.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4097, allocations: 5.312 kB / 0.5763 GB, free: 41.06 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4097, allocations: 0 / 0.5763 GB, free: 41.06 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.4097, allocations: 0 / 0.5763 GB, free: 41.06 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.0003452/0.4101, allocations: 364.9 kB / 0.5767 GB, free: 40.69 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.4101, allocations: 9 kB / 0.5767 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.4102, allocations: 7.453 kB / 0.5767 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.4103, allocations: 170.1 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.4103, allocations: 6.656 kB / 0.5769 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4103, allocations: 13.2 kB / 0.5769 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.4104, allocations: 69.56 kB / 0.577 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4104, allocations: 3.906 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4105, allocations: 0.9375 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4105, allocations: 1.25 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.4105, allocations: 37.83 kB / 0.577 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.4107, allocations: 181.3 kB / 0.5772 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.4108, allocations: 77.78 kB / 0.5772 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.4108, allocations: 32.28 kB / 0.5773 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4108, allocations: 1.062 kB / 0.5773 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.4108, allocations: 31.59 kB / 0.5773 GB, free: 40.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4108, allocations: 0 / 0.5773 GB, free: 40.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0001935/0.411, allocations: 112.3 kB / 0.5774 GB, free: 40 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.4111, allocations: 52.78 kB / 0.5775 GB, free: 39.94 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.803e-05/0.4111, allocations: 113.7 kB / 0.5776 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4111, allocations: 30.89 kB / 0.5776 GB, free: 39.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.4111, allocations: 81.42 kB / 0.5777 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4112, allocations: 39.5 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.4112, allocations: 1.25 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.4112, allocations: 317.2 kB / 0.578 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.4113, allocations: 35.75 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.4114, allocations: 74.95 kB / 0.5781 GB, free: 39.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.4114, allocations: 57.95 kB / 0.5782 GB, free: 39.24 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4114, allocations: 0 / 0.5782 GB, free: 39.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001651/0.4116, allocations: 141.1 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4116, allocations: 4.531 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4116, allocations: 5.531 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4116, allocations: 2.812 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4118, allocations: 35.77 kB / 0.5784 GB, free: 39.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4118, allocations: 5.031 kB / 0.5784 GB, free: 39.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.4119, allocations: 16.47 kB / 0.5784 GB, free: 39.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.4119, allocations: 7.547 kB / 0.5784 GB, free: 39.13 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 4.94e-05/0.4119, allocations: 123 kB / 0.5785 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.412, allocations: 1.875 kB / 0.5785 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.412, allocations: 11.97 kB / 0.5785 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.412, allocations: 5.656 kB / 0.5785 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.412, allocations: 4 kB / 0.5785 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.412, allocations: 5.406 kB / 0.5785 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.991e-05/0.4121, allocations: 181.1 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4121, allocations: 1.594 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4123, allocations: 25.52 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4123, allocations: 1.25 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4123, allocations: 2.812 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4123, allocations: 0 / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4123, allocations: 1.344 kB / 0.5787 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.4125, allocations: 162.2 kB / 0.5789 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.4125, allocations: 86.33 kB / 0.579 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.4125, allocations: 2.75 kB / 0.579 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.4126, allocations: 5.312 kB / 0.579 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.4126, allocations: 10.73 kB / 0.579 GB, free: 38.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4126, allocations: 1.375 kB / 0.579 GB, free: 38.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.524e-05/0.4126, allocations: 78.03 kB / 0.5791 GB, free: 38.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4126, allocations: 0 / 0.5791 GB, free: 38.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001834/0.4128, allocations: 21.75 kB / 0.5791 GB, free: 38.45 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 5.92e-05/0.4129, allocations: 99.73 kB / 0.5792 GB, free: 38.36 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.413, allocations: 82.77 kB / 0.5793 GB, free: 38.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.413, allocations: 0 / 0.5793 GB, free: 38.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.4131, allocations: 36.55 kB / 0.5793 GB, free: 38.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.4132, allocations: 11.52 kB / 0.5793 GB, free: 38.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.4139, allocations: 0.7408 MB / 0.58 GB, free: 37.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.414, allocations: 0.697 MB / 0.5807 GB, free: 36.96 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.414, allocations: 29.14 kB / 0.5807 GB, free: 36.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.4141, allocations: 11.56 kB / 0.5807 GB, free: 36.94 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4141, allocations: 0 / 0.5807 GB, free: 36.94 MB / 462.3 MB Notification: Performance of Templates: time 0.002075/0.4162, allocations: 0.6086 MB / 0.5813 GB, free: 36.66 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/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