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.001307/0.001307, allocations: 111.1 kB / 17.28 MB, free: 6.199 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.00126/0.00126, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.286/1.286, allocations: 222.9 MB / 241.9 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.019/1.019, allocations: 119.3 MB / 411.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.4911 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5544, allocations: 80.68 MB / 0.5699 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002227/0.5567, allocations: 1.26 MB / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.5569, allocations: 41.7 kB / 0.5711 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.5569, allocations: 0 / 0.5711 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.557, allocations: 4.922 kB / 0.5711 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.5571, allocations: 6.078 kB / 0.5711 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.5572, allocations: 11.17 kB / 0.5712 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.5574, allocations: 72.14 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.5574, allocations: 1.562 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.5575, allocations: 29.39 kB / 0.5713 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.5575, allocations: 32.36 kB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.5576, allocations: 6.5 kB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.5576, allocations: 2.75 kB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.5576, allocations: 14.92 kB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.5577, allocations: 25.2 kB / 0.5713 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.983e-05/0.5578, allocations: 23.23 kB / 0.5714 GB, free: 42.31 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5578, allocations: 3.938 kB / 0.5714 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5578, allocations: 1.375 kB / 0.5714 GB, free: 42.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.5578, allocations: 0 / 0.5714 GB, free: 42.3 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.0004693/0.5583, allocations: 378.1 kB / 0.5717 GB, free: 41.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5583, allocations: 13.42 kB / 0.5717 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.5583, allocations: 3.312 kB / 0.5717 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5585, allocations: 171.7 kB / 0.5719 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.5585, allocations: 2.875 kB / 0.5719 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.5585, allocations: 14.47 kB / 0.5719 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5587, allocations: 75.91 kB / 0.572 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5587, allocations: 1.719 kB / 0.572 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5587, allocations: 11.94 kB / 0.572 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.5587, allocations: 1.344 kB / 0.572 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.5588, allocations: 28.22 kB / 0.572 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.559, allocations: 182.7 kB / 0.5722 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5591, allocations: 70.3 kB / 0.5723 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.5591, allocations: 31.97 kB / 0.5723 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.5592, allocations: 1.375 kB / 0.5723 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.5592, allocations: 43.88 kB / 0.5723 GB, free: 41.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.5592, allocations: 0 / 0.5723 GB, free: 41.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002174/0.5594, allocations: 118.9 kB / 0.5725 GB, free: 41.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.5594, allocations: 52.78 kB / 0.5725 GB, free: 41.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.5595, allocations: 102 kB / 0.5726 GB, free: 41.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5595, allocations: 31.08 kB / 0.5726 GB, free: 41.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.851e-05/0.5595, allocations: 81.52 kB / 0.5727 GB, free: 40.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5596, allocations: 31.67 kB / 0.5727 GB, free: 40.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.5596, allocations: 40.7 kB / 0.5728 GB, free: 40.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.5597, allocations: 321.6 kB / 0.5731 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.5597, allocations: 32.61 kB / 0.5731 GB, free: 40.54 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.5598, allocations: 80.16 kB / 0.5732 GB, free: 40.48 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.56, allocations: 113.5 kB / 0.5733 GB, free: 40.4 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.56, allocations: 0 / 0.5733 GB, free: 40.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001883/0.5602, allocations: 150.5 kB / 0.5735 GB, free: 40.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5602, allocations: 8.406 kB / 0.5735 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5602, allocations: 1.531 kB / 0.5735 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5602, allocations: 1.531 kB / 0.5735 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5604, allocations: 35.8 kB / 0.5735 GB, free: 40.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5604, allocations: 10.97 kB / 0.5735 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.5604, allocations: 18.48 kB / 0.5735 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5605, allocations: 4.219 kB / 0.5735 GB, free: 40.28 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 6.367e-05/0.5605, allocations: 118.6 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5605, allocations: 6.062 kB / 0.5736 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.5606, allocations: 17.31 kB / 0.5737 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5606, allocations: 4.922 kB / 0.5737 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5606, allocations: 0 / 0.5737 GB, free: 40.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5606, allocations: 5.375 kB / 0.5737 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.5607, allocations: 177.7 kB / 0.5738 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5607, allocations: 0 / 0.5738 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.5609, allocations: 26.11 kB / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5609, allocations: 5.312 kB / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5609, allocations: 6.453 kB / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5609, allocations: 1.281 kB / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5609, allocations: 0 / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.5611, allocations: 161.2 kB / 0.574 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.5612, allocations: 83.61 kB / 0.5741 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.5612, allocations: 6.812 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.5612, allocations: 5.328 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.5613, allocations: 2.656 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.5613, allocations: 2.219 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.163e-05/0.5613, allocations: 84.7 kB / 0.5742 GB, free: 39.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5613, allocations: 1.375 kB / 0.5742 GB, free: 39.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001928/0.5615, allocations: 12.41 kB / 0.5742 GB, free: 39.6 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.569e-05/0.5616, allocations: 107.2 kB / 0.5743 GB, free: 39.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5618, allocations: 96.55 kB / 0.5744 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5618, allocations: 0 / 0.5744 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.5618, allocations: 37.03 kB / 0.5745 GB, free: 39.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.562, allocations: 17.44 kB / 0.5745 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.5628, allocations: 0.6559 MB / 0.5751 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.5629, allocations: 0.6915 MB / 0.5758 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.563, allocations: 12.38 kB / 0.5758 GB, free: 38.15 MB / 462.3 MB Notification: Performance of SimCode: time 5.81e-07/0.563, allocations: 0 / 0.5758 GB, free: 38.15 MB / 462.3 MB Notification: Performance of Templates: time 0.002425/0.5654, allocations: 0.9774 MB / 0.5768 GB, free: 37.66 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/jenkins1/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