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.00129/0.00129, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.001203/0.001203, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.278/1.278, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.005/1.005, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 60.14 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5877, allocations: 80.69 MB / 0.5697 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002215/0.59, allocations: 1.203 MB / 0.5709 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.5902, allocations: 32.66 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.5902, allocations: 0 / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.24e-05/0.5903, allocations: 9.141 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.5904, allocations: 1.062 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.5906, allocations: 19.5 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.5907, allocations: 71.28 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.5907, allocations: 6.109 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.5908, allocations: 29.83 kB / 0.5711 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.5909, allocations: 23.03 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.5909, allocations: 2.688 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.5909, allocations: 2.844 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.591, allocations: 18.97 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.591, allocations: 24.61 kB / 0.5711 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.652e-05/0.5911, allocations: 35.14 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5911, allocations: 0 / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5911, allocations: 4 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.5911, allocations: 0 / 0.5712 GB, free: 42.27 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.0004699/0.5916, allocations: 374.6 kB / 0.5715 GB, free: 41.89 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5916, allocations: 13.73 kB / 0.5716 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.5917, allocations: 3.75 kB / 0.5716 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.5918, allocations: 172 kB / 0.5717 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5918, allocations: 6.094 kB / 0.5717 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.5919, allocations: 13.62 kB / 0.5717 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.592, allocations: 74.11 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.592, allocations: 1.75 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5921, allocations: 7.938 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5921, allocations: 1.719 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.5921, allocations: 32.67 kB / 0.5719 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.5923, allocations: 182 kB / 0.572 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5924, allocations: 70.17 kB / 0.5721 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.5925, allocations: 31.97 kB / 0.5721 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.5925, allocations: 1.375 kB / 0.5721 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5925, allocations: 39.88 kB / 0.5722 GB, free: 41.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.5925, allocations: 0 / 0.5722 GB, free: 41.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002146/0.5927, allocations: 111.2 kB / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.5928, allocations: 52.78 kB / 0.5723 GB, free: 41.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.5928, allocations: 102 kB / 0.5724 GB, free: 41.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5929, allocations: 42.95 kB / 0.5725 GB, free: 40.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.5929, allocations: 80.38 kB / 0.5725 GB, free: 40.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5929, allocations: 37.03 kB / 0.5726 GB, free: 40.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.593, allocations: 38.05 kB / 0.5726 GB, free: 40.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.593, allocations: 316.5 kB / 0.5729 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.5931, allocations: 36.31 kB / 0.5729 GB, free: 40.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.5932, allocations: 82.84 kB / 0.573 GB, free: 40.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.5933, allocations: 116.3 kB / 0.5731 GB, free: 40.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5933, allocations: 0 / 0.5731 GB, free: 40.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001888/0.5935, allocations: 150.3 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5935, allocations: 8.969 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5935, allocations: 1.469 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5936, allocations: 5.344 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.5937, allocations: 32.14 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5937, allocations: 1.469 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.5938, allocations: 19.56 kB / 0.5733 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5938, allocations: 3.438 kB / 0.5733 GB, free: 40.25 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.439e-05/0.5939, allocations: 123.6 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.5939, allocations: 9.469 kB / 0.5735 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.5939, allocations: 9.375 kB / 0.5735 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5939, allocations: 0 / 0.5735 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5939, allocations: 1.312 kB / 0.5735 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5939, allocations: 0 / 0.5735 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.594, allocations: 190.2 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.594, allocations: 0 / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.5942, allocations: 26.64 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5942, allocations: 5.156 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5943, allocations: 2.375 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5943, allocations: 5.312 kB / 0.5737 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5943, allocations: 0 / 0.5737 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.5945, allocations: 153.9 kB / 0.5738 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.5945, allocations: 82.3 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.5945, allocations: 3.625 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.5946, allocations: 5.344 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5946, allocations: 6.234 kB / 0.5739 GB, free: 39.65 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.5946, allocations: 1.531 kB / 0.5739 GB, free: 39.65 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.5946, allocations: 90.61 kB / 0.574 GB, free: 39.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5946, allocations: 0 / 0.574 GB, free: 39.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001946/0.5948, allocations: 13.72 kB / 0.574 GB, free: 39.57 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.861e-05/0.5949, allocations: 109.6 kB / 0.5741 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.5951, allocations: 100.3 kB / 0.5742 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5951, allocations: 0 / 0.5742 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.5952, allocations: 38.14 kB / 0.5743 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.5954, allocations: 14.56 kB / 0.5743 GB, free: 39.4 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.5962, allocations: 0.6012 MB / 0.5749 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.5963, allocations: 0.6999 MB / 0.5756 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.251e-05/0.5964, allocations: 28.97 kB / 0.5756 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.5964, allocations: 11.41 kB / 0.5756 GB, free: 38.15 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5964, allocations: 0 / 0.5756 GB, free: 38.15 MB / 462.3 MB Notification: Performance of Templates: time 0.002774/0.5992, allocations: 0.6487 MB / 0.5762 GB, free: 37.86 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches