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.00121/0.00121, allocations: 108 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.001182/0.001182, allocations: 194 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.234/1.234, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8588/0.8588, allocations: 119.3 MB / 411.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4989, allocations: 80.68 MB / 0.5699 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002047/0.501, allocations: 1.261 MB / 0.5711 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000161/0.5012, allocations: 40.72 kB / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.5012, allocations: 1.375 kB / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.5013, allocations: 0 / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.5014, allocations: 9.359 kB / 0.5712 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.5015, allocations: 23.53 kB / 0.5712 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.5016, allocations: 67.62 kB / 0.5712 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.5017, allocations: 10.23 kB / 0.5712 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.5017, allocations: 25.67 kB / 0.5713 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.5018, allocations: 24.12 kB / 0.5713 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.5018, allocations: 3.312 kB / 0.5713 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.5018, allocations: 2.531 kB / 0.5713 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.5019, allocations: 22.69 kB / 0.5713 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.5019, allocations: 16.25 kB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.502, allocations: 32.34 kB / 0.5714 GB, free: 42.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.502, allocations: 0 / 0.5714 GB, free: 42.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.392e-06/0.502, allocations: 0 / 0.5714 GB, free: 42.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.502, allocations: 0 / 0.5714 GB, free: 42.33 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.0004245/0.5024, allocations: 370.7 kB / 0.5717 GB, free: 41.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5025, allocations: 14.17 kB / 0.5717 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.5025, allocations: 7.688 kB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5026, allocations: 174.9 kB / 0.5719 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.5026, allocations: 12 kB / 0.5719 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5027, allocations: 13.27 kB / 0.5719 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.5028, allocations: 71.53 kB / 0.572 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5028, allocations: 1.688 kB / 0.572 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.5028, allocations: 3.938 kB / 0.572 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5028, allocations: 1.531 kB / 0.572 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.5029, allocations: 28.88 kB / 0.572 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.503, allocations: 181.9 kB / 0.5722 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5032, allocations: 83.19 kB / 0.5723 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.5032, allocations: 31.97 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5032, allocations: 0 / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.5032, allocations: 31.94 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.5032, allocations: 3.938 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0001989/0.5034, allocations: 115 kB / 0.5725 GB, free: 41.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.5035, allocations: 56.78 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.5035, allocations: 99.34 kB / 0.5726 GB, free: 41.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.5035, allocations: 29.7 kB / 0.5726 GB, free: 41.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.5036, allocations: 81.52 kB / 0.5727 GB, free: 40.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.5036, allocations: 35.67 kB / 0.5728 GB, free: 40.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.5036, allocations: 34.08 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.5037, allocations: 321.5 kB / 0.5731 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.5037, allocations: 36.59 kB / 0.5731 GB, free: 40.57 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.5038, allocations: 76.7 kB / 0.5732 GB, free: 40.51 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5039, allocations: 113 kB / 0.5733 GB, free: 40.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.504, allocations: 4 kB / 0.5733 GB, free: 40.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001764/0.5041, allocations: 157.3 kB / 0.5735 GB, free: 40.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5042, allocations: 9 kB / 0.5735 GB, free: 40.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5042, allocations: 1.312 kB / 0.5735 GB, free: 40.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5042, allocations: 2.188 kB / 0.5735 GB, free: 40.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5043, allocations: 32.33 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5044, allocations: 1.188 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.5044, allocations: 15.78 kB / 0.5735 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5044, allocations: 4.031 kB / 0.5735 GB, free: 40.31 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.514e-05/0.5045, allocations: 126.8 kB / 0.5736 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.5045, allocations: 5.625 kB / 0.5737 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.5045, allocations: 17.47 kB / 0.5737 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5045, allocations: 1.344 kB / 0.5737 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5045, allocations: 0 / 0.5737 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5045, allocations: 0 / 0.5737 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.814e-05/0.5046, allocations: 178.5 kB / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5046, allocations: 3.984 kB / 0.5738 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.5048, allocations: 26.48 kB / 0.5739 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5048, allocations: 9.469 kB / 0.5739 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5049, allocations: 2.625 kB / 0.5739 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5049, allocations: 0 / 0.5739 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5049, allocations: 5.5 kB / 0.5739 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.505, allocations: 153 kB / 0.574 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5051, allocations: 87.28 kB / 0.5741 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5051, allocations: 3.094 kB / 0.5741 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.5051, allocations: 1.375 kB / 0.5741 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.5052, allocations: 14.55 kB / 0.5741 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.5052, allocations: 2.469 kB / 0.5741 GB, free: 39.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.5052, allocations: 80.7 kB / 0.5742 GB, free: 39.63 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5052, allocations: 1.094 kB / 0.5742 GB, free: 39.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001907/0.5054, allocations: 17.22 kB / 0.5742 GB, free: 39.62 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.04e-05/0.5055, allocations: 103.4 kB / 0.5743 GB, free: 39.53 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.5056, allocations: 104.6 kB / 0.5744 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5057, allocations: 4.062 kB / 0.5744 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.5057, allocations: 29.14 kB / 0.5745 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.5059, allocations: 14.5 kB / 0.5745 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.5066, allocations: 0.65 MB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.5067, allocations: 0.6996 MB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.5068, allocations: 11.72 kB / 0.5758 GB, free: 38.17 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5068, allocations: 1.375 kB / 0.5758 GB, free: 38.17 MB / 462.3 MB Notification: Performance of Templates: time 0.002121/0.5089, allocations: 0.9701 MB / 0.5768 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