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.00127/0.00127, allocations: 109.6 kB / 17.17 MB, free: 6.344 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.001233/0.001233, allocations: 198.8 kB / 18.08 MB, free: 5.441 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.347/1.347, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.996/0.996, allocations: 119.3 MB / 411.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5498, allocations: 80.69 MB / 0.5697 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002178/0.5521, allocations: 1.275 MB / 0.5709 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.5523, allocations: 29.23 kB / 0.571 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.5523, allocations: 3.938 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.943e-05/0.5524, allocations: 4 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.5525, allocations: 6.078 kB / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.5526, allocations: 16.66 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.5528, allocations: 78.64 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.5528, allocations: 6.328 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.5529, allocations: 33.83 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.5529, allocations: 27.66 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.553, allocations: 2.375 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.889e-05/0.553, allocations: 4 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.553, allocations: 18.88 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.5531, allocations: 23.86 kB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.681e-05/0.5532, allocations: 20.16 kB / 0.5712 GB, free: 42.31 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5532, allocations: 0 / 0.5712 GB, free: 42.31 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5532, allocations: 0 / 0.5712 GB, free: 42.31 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.5532, allocations: 3.938 kB / 0.5712 GB, free: 42.31 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.0004632/0.5536, allocations: 379.1 kB / 0.5716 GB, free: 41.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5537, allocations: 9.406 kB / 0.5716 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.5537, allocations: 3.469 kB / 0.5716 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5539, allocations: 171.9 kB / 0.5717 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.5539, allocations: 3.312 kB / 0.5717 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.5539, allocations: 17.55 kB / 0.5718 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.554, allocations: 74.94 kB / 0.5718 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5541, allocations: 1.812 kB / 0.5718 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5541, allocations: 7.938 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5541, allocations: 1.281 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.5542, allocations: 28.78 kB / 0.5719 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.5543, allocations: 183.4 kB / 0.572 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5544, allocations: 66.73 kB / 0.5721 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.5545, allocations: 34.58 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.5545, allocations: 5.375 kB / 0.5721 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.5545, allocations: 39.88 kB / 0.5722 GB, free: 41.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.5545, allocations: 0 / 0.5722 GB, free: 41.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000217/0.5548, allocations: 111 kB / 0.5723 GB, free: 41.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5548, allocations: 56.72 kB / 0.5723 GB, free: 41.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.5548, allocations: 102 kB / 0.5724 GB, free: 41.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5549, allocations: 31.08 kB / 0.5725 GB, free: 41.03 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.5549, allocations: 85.52 kB / 0.5726 GB, free: 40.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.5549, allocations: 39.89 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.555, allocations: 30.09 kB / 0.5726 GB, free: 40.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.555, allocations: 320.2 kB / 0.5729 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.5551, allocations: 37.97 kB / 0.573 GB, free: 40.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.5552, allocations: 74.33 kB / 0.573 GB, free: 40.49 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.5553, allocations: 116.4 kB / 0.5731 GB, free: 40.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5553, allocations: 1.188 kB / 0.5731 GB, free: 40.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001848/0.5555, allocations: 145.5 kB / 0.5733 GB, free: 40.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5555, allocations: 8.125 kB / 0.5733 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5555, allocations: 5.656 kB / 0.5733 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5555, allocations: 2.5 kB / 0.5733 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.5557, allocations: 36.11 kB / 0.5733 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5557, allocations: 5.438 kB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.5558, allocations: 16 kB / 0.5734 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.5558, allocations: 3.938 kB / 0.5734 GB, free: 40.29 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.768e-05/0.5559, allocations: 121.2 kB / 0.5735 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.5559, allocations: 6.156 kB / 0.5735 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.5559, allocations: 16.91 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5559, allocations: 5.344 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5559, allocations: 4.906 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.5559, allocations: 192 / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.579e-05/0.556, allocations: 182.3 kB / 0.5737 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.556, allocations: 3.984 kB / 0.5737 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.5562, allocations: 27.05 kB / 0.5737 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5562, allocations: 7.922 kB / 0.5737 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5563, allocations: 3.906 kB / 0.5737 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5563, allocations: 0 / 0.5737 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5563, allocations: 0 / 0.5737 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.5565, allocations: 154.6 kB / 0.5739 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.5565, allocations: 86.45 kB / 0.5739 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.5565, allocations: 6.672 kB / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.5566, allocations: 1.344 kB / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.5566, allocations: 6.422 kB / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5566, allocations: 2.5 kB / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.068e-05/0.5566, allocations: 81.78 kB / 0.574 GB, free: 39.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5566, allocations: 0 / 0.574 GB, free: 39.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001975/0.5568, allocations: 17.75 kB / 0.5741 GB, free: 39.61 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 8.273e-05/0.5569, allocations: 103.5 kB / 0.5742 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.5571, allocations: 87.56 kB / 0.5742 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5571, allocations: 0 / 0.5742 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.5572, allocations: 36.81 kB / 0.5743 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.5574, allocations: 10.41 kB / 0.5743 GB, free: 39.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.5582, allocations: 0.645 MB / 0.5749 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.5583, allocations: 0.6974 MB / 0.5756 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.5583, allocations: 12.34 kB / 0.5756 GB, free: 38.18 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.5584, allocations: 4 kB / 0.5756 GB, free: 38.17 MB / 462.3 MB Notification: Performance of Templates: time 0.002462/0.5608, allocations: 0.9641 MB / 0.5766 GB, free: 37.69 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/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