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.001005/0.001005, allocations: 108.2 kB / 17.29 MB, free: 6.211 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.000982/0.000982, allocations: 197.9 kB / 18.21 MB, free: 5.285 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.238/1.238, allocations: 222.9 MB / 241.9 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8501/0.8501, allocations: 119.3 MB / 411.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.4911 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4973, allocations: 80.68 MB / 0.5699 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.00223/0.4996, allocations: 1.284 MB / 0.5711 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.4998, allocations: 39.59 kB / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.4999, allocations: 3.938 kB / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.5, allocations: 0 / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.5001, allocations: 19.94 kB / 0.5712 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.5003, allocations: 12.48 kB / 0.5712 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.5005, allocations: 107.6 kB / 0.5713 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.5005, allocations: 9.172 kB / 0.5713 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.5006, allocations: 34.02 kB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.5007, allocations: 37.5 kB / 0.5714 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.5007, allocations: 4.406 kB / 0.5714 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.5007, allocations: 4.5 kB / 0.5714 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.5008, allocations: 32.59 kB / 0.5714 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.5009, allocations: 29.91 kB / 0.5714 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.5009, allocations: 40.22 kB / 0.5715 GB, free: 41.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.501, allocations: 0 / 0.5715 GB, free: 41.71 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.585e-06/0.501, allocations: 1.469 kB / 0.5715 GB, free: 41.71 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.501, allocations: 4 kB / 0.5715 GB, free: 41.71 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.0005992/0.5016, allocations: 400.3 kB / 0.5719 GB, free: 41.31 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5016, allocations: 18.08 kB / 0.5719 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.5017, allocations: 4.625 kB / 0.5719 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5018, allocations: 185.1 kB / 0.5721 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5018, allocations: 7.531 kB / 0.5721 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.5019, allocations: 7.781 kB / 0.5721 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.502, allocations: 85.33 kB / 0.5722 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.502, allocations: 5.359 kB / 0.5722 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5021, allocations: 4.875 kB / 0.5722 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5021, allocations: 1.125 kB / 0.5722 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.5022, allocations: 40.44 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.5024, allocations: 220.4 kB / 0.5724 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.5027, allocations: 135.8 kB / 0.5725 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.5028, allocations: 49.86 kB / 0.5726 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5028, allocations: 1 kB / 0.5726 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.5029, allocations: 31.66 kB / 0.5726 GB, free: 40.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.5029, allocations: 0 / 0.5726 GB, free: 40.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.000668/0.5035, allocations: 313.6 kB / 0.5729 GB, free: 40.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.5036, allocations: 52.66 kB / 0.573 GB, free: 40.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.5036, allocations: 102.1 kB / 0.5731 GB, free: 40.24 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5036, allocations: 30.98 kB / 0.5731 GB, free: 40.2 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.5037, allocations: 81.52 kB / 0.5732 GB, free: 40.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.5037, allocations: 52.64 kB / 0.5732 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.5038, allocations: 40.8 kB / 0.5733 GB, free: 40.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.5038, allocations: 325.5 kB / 0.5736 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.5039, allocations: 48.8 kB / 0.5736 GB, free: 39.7 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.72e-05/0.504, allocations: 93.48 kB / 0.5737 GB, free: 39.63 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.5042, allocations: 151.4 kB / 0.5739 GB, free: 39.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5042, allocations: 3.938 kB / 0.5739 GB, free: 39.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003939/0.5046, allocations: 225.3 kB / 0.5741 GB, free: 39.4 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5046, allocations: 9.312 kB / 0.5741 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5046, allocations: 1.062 kB / 0.5741 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.5049, allocations: 58.61 kB / 0.5741 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.505, allocations: 37.92 kB / 0.5742 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5061, allocations: 1.591 MB / 0.5757 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.5062, allocations: 12.03 kB / 0.5757 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5062, allocations: 3.781 kB / 0.5758 GB, free: 37.8 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 7.013e-05/0.5063, allocations: 127.2 kB / 0.5759 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.5063, allocations: 6.453 kB / 0.5759 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.5064, allocations: 17.19 kB / 0.5759 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5064, allocations: 4.875 kB / 0.5759 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5064, allocations: 1.219 kB / 0.5759 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5064, allocations: 0 / 0.5759 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.5065, allocations: 212 kB / 0.5761 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5065, allocations: 1.5 kB / 0.5761 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.5067, allocations: 29.48 kB / 0.5761 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.5069, allocations: 63.42 kB / 0.5762 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.507, allocations: 2.625 kB / 0.5762 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009607/0.5079, allocations: 1.579 MB / 0.5777 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.508, allocations: 3.984 kB / 0.5777 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.5084, allocations: 265.8 kB / 0.578 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.5084, allocations: 87.39 kB / 0.5781 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.5084, allocations: 2.625 kB / 0.5781 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.5085, allocations: 9.469 kB / 0.5781 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.5085, allocations: 8.141 kB / 0.5781 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.5085, allocations: 6.656 kB / 0.5781 GB, free: 35.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.5085, allocations: 82.2 kB / 0.5782 GB, free: 35.48 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5085, allocations: 0 / 0.5782 GB, free: 35.48 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002355/0.5088, allocations: 36.16 kB / 0.5782 GB, free: 35.47 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.85e-05/0.5089, allocations: 100.2 kB / 0.5783 GB, free: 35.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004588/0.5093, allocations: 271.5 kB / 0.5786 GB, free: 35.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5094, allocations: 0 / 0.5786 GB, free: 35.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.5096, allocations: 192.2 kB / 0.5788 GB, free: 35.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.5098, allocations: 10.56 kB / 0.5788 GB, free: 35.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.5106, allocations: 0.7095 MB / 0.5795 GB, free: 34.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.5107, allocations: 0.7013 MB / 0.5801 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.5108, allocations: 16.78 kB / 0.5802 GB, free: 33.72 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5108, allocations: 0 / 0.5802 GB, free: 33.72 MB / 462.3 MB Notification: Performance of Templates: time 0.003156/0.5139, allocations: 1.439 MB / 0.5816 GB, free: 33 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches