Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.4 kB / 16.92 MB, free: 5.789 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.001346/0.001346, allocations: 191.5 kB / 17.85 MB, free: 5.16 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.209/1.209, 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 0.9042/0.9042, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 55.91 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5036, allocations: 80.69 MB / 0.5697 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001959/0.5056, allocations: 1.217 MB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.5058, allocations: 38.33 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.5059, allocations: 5.219 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.633e-05/0.506, allocations: 7.984 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.506, allocations: 6.75 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.5062, allocations: 23.92 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.5063, allocations: 106.3 kB / 0.5711 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.5064, allocations: 2.469 kB / 0.5711 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.5065, allocations: 41.7 kB / 0.5711 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.5065, allocations: 27.84 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5066, allocations: 4.125 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.5066, allocations: 5.125 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.5066, allocations: 29.45 kB / 0.5712 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.5067, allocations: 30.69 kB / 0.5712 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.784e-05/0.5068, allocations: 51.78 kB / 0.5713 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5068, allocations: 3.984 kB / 0.5713 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5068, allocations: 4 kB / 0.5713 GB, free: 42.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.5068, allocations: 0 / 0.5713 GB, free: 42.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005599/0.5074, allocations: 397.1 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5074, allocations: 14.52 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.5075, allocations: 4.938 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.5076, allocations: 192.5 kB / 0.5719 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.5076, allocations: 3.062 kB / 0.5719 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.5076, allocations: 11.69 kB / 0.5719 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.5078, allocations: 86.61 kB / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5078, allocations: 1.594 kB / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5078, allocations: 11.94 kB / 0.572 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5079, allocations: 1.406 kB / 0.572 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.5079, allocations: 47.52 kB / 0.572 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.5081, allocations: 212.8 kB / 0.5722 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5085, allocations: 128.5 kB / 0.5724 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.5086, allocations: 53.39 kB / 0.5724 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.5086, allocations: 1.375 kB / 0.5724 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.5086, allocations: 31.94 kB / 0.5724 GB, free: 41.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.5086, allocations: 4 kB / 0.5724 GB, free: 41.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006572/0.5093, allocations: 308.1 kB / 0.5727 GB, free: 40.88 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.5093, allocations: 52.78 kB / 0.5728 GB, free: 40.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/0.5093, allocations: 107.1 kB / 0.5729 GB, free: 40.71 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5094, allocations: 26.77 kB / 0.5729 GB, free: 40.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.5094, allocations: 89.36 kB / 0.573 GB, free: 40.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.5094, allocations: 44.86 kB / 0.573 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.5095, allocations: 39.86 kB / 0.5731 GB, free: 40.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.5095, allocations: 321.6 kB / 0.5734 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.5096, allocations: 56.94 kB / 0.5734 GB, free: 40.17 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.5097, allocations: 89.38 kB / 0.5735 GB, free: 40.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5099, allocations: 155 kB / 0.5737 GB, free: 40 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5099, allocations: 1.438 kB / 0.5737 GB, free: 40 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003718/0.5103, allocations: 224.8 kB / 0.5739 GB, free: 39.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5103, allocations: 9.5 kB / 0.5739 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5103, allocations: 1.219 kB / 0.5739 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.5106, allocations: 57.39 kB / 0.574 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5107, allocations: 38.14 kB / 0.574 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.5118, allocations: 1.587 MB / 0.5755 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.5118, allocations: 7.969 kB / 0.5755 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.5119, allocations: 8.281 kB / 0.5756 GB, free: 38.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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.5119, allocations: 128.1 kB / 0.5757 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.512, allocations: 2.781 kB / 0.5757 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.512, allocations: 21.56 kB / 0.5757 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.512, allocations: 1.344 kB / 0.5757 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.512, allocations: 1.5 kB / 0.5757 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.512, allocations: 7.922 kB / 0.5757 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.5121, allocations: 203.5 kB / 0.5759 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5122, allocations: 4 kB / 0.5759 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5123, allocations: 30.73 kB / 0.5759 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.5125, allocations: 60.08 kB / 0.576 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5126, allocations: 10.92 kB / 0.576 GB, free: 37.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009292/0.5135, allocations: 1.578 MB / 0.5775 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5135, allocations: 0 / 0.5775 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.5139, allocations: 259.2 kB / 0.5778 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.5139, allocations: 90.14 kB / 0.5779 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.514, allocations: 11.55 kB / 0.5779 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.514, allocations: 1.219 kB / 0.5779 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.514, allocations: 12.83 kB / 0.5779 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.5141, allocations: 6.312 kB / 0.5779 GB, free: 36.04 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.5141, allocations: 77.59 kB / 0.578 GB, free: 35.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5141, allocations: 4 kB / 0.578 GB, free: 35.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002213/0.5143, allocations: 28.66 kB / 0.578 GB, free: 35.96 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.475e-05/0.5144, allocations: 107.4 kB / 0.5781 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.5149, allocations: 271.9 kB / 0.5784 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5149, allocations: 3.938 kB / 0.5784 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.5151, allocations: 196.2 kB / 0.5786 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.5153, allocations: 7.281 kB / 0.5786 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.5161, allocations: 0.6579 MB / 0.5792 GB, free: 34.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.5162, allocations: 0.7011 MB / 0.5799 GB, free: 34.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.5163, allocations: 27.58 kB / 0.5799 GB, free: 34.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.5163, allocations: 11.88 kB / 0.5799 GB, free: 34.24 MB / 462.3 MB Notification: Performance of SimCode: time 6.21e-07/0.5163, allocations: 0 / 0.5799 GB, free: 34.24 MB / 462.3 MB Notification: Performance of Templates: time 0.003352/0.5197, allocations: 1.303 MB / 0.5812 GB, free: 33.62 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches