Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001593/0.001593, allocations: 106.6 kB / 16.92 MB, free: 5.777 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.001812/0.001812, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.36/1.36, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9984/0.9984, allocations: 119.3 MB / 411 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 59.91 kB / 0.4909 GB, free: 13.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5032, allocations: 80.69 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002243/0.5055, allocations: 1.221 MB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00018/0.5057, allocations: 47.05 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.5057, allocations: 0 / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.913e-05/0.5058, allocations: 0.9375 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.5059, allocations: 9.984 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.506, allocations: 16.47 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.5062, allocations: 103 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.5063, allocations: 2.25 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.5063, allocations: 48.89 kB / 0.5711 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.5064, allocations: 36.5 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.5064, allocations: 4.375 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.5064, allocations: 4.562 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.5065, allocations: 29.75 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.5066, allocations: 30.89 kB / 0.5712 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.93e-05/0.5066, allocations: 50.64 kB / 0.5713 GB, free: 42.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5066, allocations: 0 / 0.5713 GB, free: 42.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5067, allocations: 1.031 kB / 0.5713 GB, free: 42.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.5067, allocations: 0 / 0.5713 GB, free: 42.2 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.0005227/0.5072, allocations: 404.9 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5072, allocations: 13.11 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.5073, allocations: 4.5 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.5074, allocations: 190.9 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5074, allocations: 3.094 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.5075, allocations: 10.69 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5076, allocations: 86.33 kB / 0.572 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5076, allocations: 5.734 kB / 0.572 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5077, allocations: 7.938 kB / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5077, allocations: 1.375 kB / 0.572 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.5078, allocations: 44.19 kB / 0.572 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5079, allocations: 208.3 kB / 0.5722 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.5083, allocations: 136.4 kB / 0.5724 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.5084, allocations: 48.84 kB / 0.5724 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5084, allocations: 1.656 kB / 0.5724 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.5084, allocations: 31.88 kB / 0.5724 GB, free: 41.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5084, allocations: 0 / 0.5724 GB, free: 41.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006838/0.5091, allocations: 313.8 kB / 0.5727 GB, free: 40.9 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.5092, allocations: 52.75 kB / 0.5728 GB, free: 40.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.5092, allocations: 102.2 kB / 0.5729 GB, free: 40.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5092, allocations: 27.08 kB / 0.5729 GB, free: 40.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.5093, allocations: 85.55 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.5093, allocations: 45.7 kB / 0.573 GB, free: 40.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.5094, allocations: 42.95 kB / 0.5731 GB, free: 40.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.5094, allocations: 325.1 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.5095, allocations: 56.55 kB / 0.5734 GB, free: 40.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.5096, allocations: 87.69 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.5098, allocations: 151.2 kB / 0.5737 GB, free: 40.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5098, allocations: 0 / 0.5737 GB, free: 40.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003941/0.5102, allocations: 225.2 kB / 0.5739 GB, free: 39.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5102, allocations: 9.531 kB / 0.5739 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5102, allocations: 5.781 kB / 0.5739 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.5105, allocations: 70.08 kB / 0.574 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.5107, allocations: 33.66 kB / 0.574 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5118, allocations: 1.587 MB / 0.5755 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.5118, allocations: 7.531 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5119, allocations: 9.125 kB / 0.5756 GB, free: 38.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 (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 7e-05/0.5119, allocations: 128.1 kB / 0.5757 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.512, allocations: 2.469 kB / 0.5757 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.512, allocations: 15.97 kB / 0.5757 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.512, allocations: 2.531 kB / 0.5757 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.512, allocations: 0 / 0.5757 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.512, allocations: 5.25 kB / 0.5757 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.5121, allocations: 212 kB / 0.5759 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5122, allocations: 0 / 0.5759 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5123, allocations: 25.48 kB / 0.5759 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.5125, allocations: 56.36 kB / 0.576 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5126, allocations: 6.906 kB / 0.576 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009749/0.5136, allocations: 1.586 MB / 0.5775 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5136, allocations: 9.109 kB / 0.5776 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.514, allocations: 257.8 kB / 0.5778 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.514, allocations: 94.39 kB / 0.5779 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.514, allocations: 3.344 kB / 0.5779 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.5141, allocations: 1.125 kB / 0.5779 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.5141, allocations: 12.23 kB / 0.5779 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.5141, allocations: 6.969 kB / 0.5779 GB, free: 36.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.895e-05/0.5141, allocations: 81.52 kB / 0.578 GB, free: 35.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.91e-07/0.5141, allocations: 0 / 0.578 GB, free: 35.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000224/0.5144, allocations: 31.81 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 8.409e-05/0.5145, allocations: 109.5 kB / 0.5781 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.5149, allocations: 267 kB / 0.5784 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5149, allocations: 0 / 0.5784 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.5152, allocations: 192.1 kB / 0.5786 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.5153, allocations: 9.203 kB / 0.5786 GB, free: 35.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.5161, allocations: 0.6581 MB / 0.5792 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.5163, allocations: 0.7057 MB / 0.5799 GB, free: 34.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.5163, allocations: 28.22 kB / 0.5799 GB, free: 34.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.5163, allocations: 11 kB / 0.5799 GB, free: 34.25 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5163, allocations: 0 / 0.5799 GB, free: 34.25 MB / 462.3 MB Notification: Performance of Templates: time 0.003374/0.5197, allocations: 1.313 MB / 0.5812 GB, free: 33.63 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches