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.001659/0.001659, allocations: 98.36 kB / 16.3 MB, free: 5.551 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.001699/0.001699, allocations: 182.9 kB / 17.19 MB, free: 5.484 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.368/1.368, allocations: 223.2 MB / 241.1 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.112/1.112, allocations: 120.5 MB / 412.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 11.98 kB / 0.4942 GB, free: 11.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6109/0.6113, allocations: 82.83 MB / 0.5751 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001142/0.6125, allocations: 0.9232 MB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000171/0.6127, allocations: 34.81 kB / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.6127, allocations: 0 / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.6128, allocations: 3.938 kB / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.731e-05/0.6128, allocations: 3.984 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.613, allocations: 17.28 kB / 0.576 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.6131, allocations: 44.06 kB / 0.5761 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.6132, allocations: 5.797 kB / 0.5761 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.6132, allocations: 19.2 kB / 0.5761 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.6133, allocations: 26.3 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.6133, allocations: 2.594 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.6133, allocations: 2.406 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.6133, allocations: 19.12 kB / 0.5761 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.6134, allocations: 29.58 kB / 0.5762 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.44e-05/0.6134, allocations: 28.33 kB / 0.5762 GB, free: 41.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.6134, allocations: 0 / 0.5762 GB, free: 41.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6135, allocations: 3.938 kB / 0.5762 GB, free: 41.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.6135, allocations: 1.219 kB / 0.5762 GB, free: 41.02 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.0004261/0.6139, allocations: 364.9 kB / 0.5765 GB, free: 40.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6139, allocations: 8.562 kB / 0.5765 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.614, allocations: 10.77 kB / 0.5765 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6141, allocations: 170.8 kB / 0.5767 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6142, allocations: 6.125 kB / 0.5767 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.6142, allocations: 14.7 kB / 0.5767 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.6143, allocations: 63.22 kB / 0.5768 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6144, allocations: 8.969 kB / 0.5768 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6144, allocations: 1 kB / 0.5768 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6144, allocations: 1.031 kB / 0.5768 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.6145, allocations: 37.2 kB / 0.5768 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.6146, allocations: 182.4 kB / 0.577 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.6148, allocations: 70.39 kB / 0.5771 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.6148, allocations: 3.984 kB / 0.5771 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.6148, allocations: 35.75 kB / 0.5771 GB, free: 40.04 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.6148, allocations: 1 kB / 0.5771 GB, free: 40.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002465/0.6151, allocations: 112.5 kB / 0.5772 GB, free: 39.96 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.6151, allocations: 52.72 kB / 0.5773 GB, free: 39.9 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.6152, allocations: 102.4 kB / 0.5774 GB, free: 39.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.6152, allocations: 25.7 kB / 0.5774 GB, free: 39.76 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.6152, allocations: 85.3 kB / 0.5775 GB, free: 39.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.6152, allocations: 39.3 kB / 0.5775 GB, free: 39.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.6153, allocations: 5.719 kB / 0.5775 GB, free: 39.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.6153, allocations: 320.5 kB / 0.5778 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.6154, allocations: 36.25 kB / 0.5779 GB, free: 39.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.6154, allocations: 71.58 kB / 0.5779 GB, free: 39.24 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.6155, allocations: 54.47 kB / 0.578 GB, free: 39.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6155, allocations: 4 kB / 0.578 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001941/0.6157, allocations: 156.2 kB / 0.5781 GB, free: 39.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6158, allocations: 5.531 kB / 0.5781 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6158, allocations: 1.25 kB / 0.5781 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6158, allocations: 1.469 kB / 0.5781 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.616, allocations: 36.7 kB / 0.5782 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.616, allocations: 1.5 kB / 0.5782 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.616, allocations: 10.69 kB / 0.5782 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.616, allocations: 8.469 kB / 0.5782 GB, free: 39.1 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 5.855e-05/0.6161, allocations: 126.3 kB / 0.5783 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.6161, allocations: 2.656 kB / 0.5783 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.6162, allocations: 13.41 kB / 0.5783 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.6162, allocations: 0 / 0.5783 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6162, allocations: 1.25 kB / 0.5783 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6162, allocations: 0 / 0.5783 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.737e-05/0.6163, allocations: 178 kB / 0.5785 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6163, allocations: 7.922 kB / 0.5785 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6165, allocations: 27.36 kB / 0.5785 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6165, allocations: 4 kB / 0.5785 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6165, allocations: 8.125 kB / 0.5786 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6165, allocations: 0 / 0.5786 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6165, allocations: 0 / 0.5786 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.6167, allocations: 147.1 kB / 0.5787 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.6168, allocations: 90.5 kB / 0.5788 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.6168, allocations: 6.75 kB / 0.5788 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.6168, allocations: 1.375 kB / 0.5788 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.6169, allocations: 14.72 kB / 0.5788 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.6169, allocations: 5.312 kB / 0.5788 GB, free: 38.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.6169, allocations: 78.03 kB / 0.5789 GB, free: 38.42 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6169, allocations: 0 / 0.5789 GB, free: 38.42 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000197/0.6171, allocations: 17.75 kB / 0.5789 GB, free: 38.42 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 7.967e-05/0.6172, allocations: 103.7 kB / 0.579 GB, free: 38.32 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.6174, allocations: 83.02 kB / 0.5791 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6174, allocations: 4 kB / 0.5791 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.6174, allocations: 36.55 kB / 0.5791 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.6176, allocations: 15.39 kB / 0.5791 GB, free: 38.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.6184, allocations: 0.7392 MB / 0.5798 GB, free: 37.63 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.6185, allocations: 0.697 MB / 0.5805 GB, free: 36.92 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.6186, allocations: 25.14 kB / 0.5806 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.6186, allocations: 11.56 kB / 0.5806 GB, free: 36.9 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.6186, allocations: 0 / 0.5806 GB, free: 36.9 MB / 462.3 MB Notification: Performance of Templates: time 0.002791/0.6214, allocations: 0.6051 MB / 0.5812 GB, free: 36.62 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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