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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008734, allocations: 98.27 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8398/0.8398, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.814e-05, allocations: 4 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4975, allocations: 82.83 MB / 0.6166 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.6346, allocations: 125.3 MB / 0.7389 GB, free: 11.94 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001303/0.6347, allocations: 51.97 kB / 0.739 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.00356/0.6383, allocations: 1.265 MB / 0.7402 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6383, allocations: 0 / 0.7402 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.6384, allocations: 3.938 kB / 0.7402 GB, free: 10.62 MB / 0.5419 GB 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.0004328/0.6388, allocations: 370.5 kB / 0.7406 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6388, allocations: 8.031 kB / 0.7406 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.6389, allocations: 11.86 kB / 0.7406 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.6391, allocations: 179 kB / 0.7408 GB, free: 9.98 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.6391, allocations: 8 kB / 0.7408 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.6391, allocations: 11.98 kB / 0.7408 GB, free: 9.961 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.6393, allocations: 85.59 kB / 0.7409 GB, free: 9.871 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6393, allocations: 3.906 kB / 0.7409 GB, free: 9.867 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.6393, allocations: 0 / 0.7409 GB, free: 9.867 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6393, allocations: 7.891 kB / 0.7409 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.6394, allocations: 47.97 kB / 0.7409 GB, free: 9.812 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.6397, allocations: 209.6 kB / 0.7411 GB, free: 9.559 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.64, allocations: 126.5 kB / 0.7412 GB, free: 9.426 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.6401, allocations: 48.84 kB / 0.7413 GB, free: 9.375 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.6401, allocations: 3.984 kB / 0.7413 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.6401, allocations: 38.5 kB / 0.7413 GB, free: 9.324 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.6402, allocations: 4 kB / 0.7413 GB, free: 9.32 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.000427/0.6406, allocations: 178.9 kB / 0.7415 GB, free: 9.133 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.6406, allocations: 59.34 kB / 0.7416 GB, free: 9.062 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.6407, allocations: 89 kB / 0.7416 GB, free: 8.969 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6407, allocations: 29.7 kB / 0.7417 GB, free: 8.934 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.6408, allocations: 84.12 kB / 0.7418 GB, free: 8.848 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.6408, allocations: 55.3 kB / 0.7418 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.6408, allocations: 4 kB / 0.7418 GB, free: 8.789 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.6409, allocations: 318.8 kB / 0.7421 GB, free: 8.469 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.641, allocations: 47.97 kB / 0.7422 GB, free: 8.422 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.6411, allocations: 84.27 kB / 0.7422 GB, free: 8.324 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.6412, allocations: 63.91 kB / 0.7423 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6412, allocations: 4 kB / 0.7423 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004122/0.6417, allocations: 226.1 kB / 0.7425 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6417, allocations: 4 kB / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6417, allocations: 4.125 kB / 0.7425 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.642, allocations: 64.78 kB / 0.7426 GB, free: 7.953 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6421, allocations: 36 kB / 0.7426 GB, free: 7.918 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.6434, allocations: 1.468 MB / 0.7441 GB, free: 6.312 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.6435, allocations: 15.88 kB / 0.7441 GB, free: 6.297 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.6435, allocations: 12.05 kB / 0.7441 GB, free: 6.285 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.6436, allocations: 112.9 kB / 0.7442 GB, free: 6.168 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.6436, allocations: 7.906 kB / 0.7442 GB, free: 6.16 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.6436, allocations: 20.41 kB / 0.7442 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6436, allocations: 0 / 0.7442 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6437, allocations: 11.89 kB / 0.7442 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6437, allocations: 3.984 kB / 0.7442 GB, free: 6.121 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.6438, allocations: 197.6 kB / 0.7444 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.6438, allocations: 4 kB / 0.7444 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.644, allocations: 28 kB / 0.7445 GB, free: 5.848 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.6443, allocations: 60.78 kB / 0.7445 GB, free: 5.785 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.6443, allocations: 4 kB / 0.7445 GB, free: 5.781 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.6454, allocations: 1.468 MB / 0.7459 GB, free: 4.176 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.6455, allocations: 7.953 kB / 0.746 GB, free: 4.168 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.6459, allocations: 268.4 kB / 0.7462 GB, free: 3.887 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.646, allocations: 77.11 kB / 0.7463 GB, free: 3.793 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.646, allocations: 7.984 kB / 0.7463 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.646, allocations: 0 / 0.7463 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.6461, allocations: 15.98 kB / 0.7463 GB, free: 3.77 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6461, allocations: 4 kB / 0.7463 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.6461, allocations: 79.28 kB / 0.7464 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6461, allocations: 0 / 0.7464 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002151/0.6464, allocations: 32 kB / 0.7464 GB, free: 3.656 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.6465, allocations: 103.5 kB / 0.7465 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.6469, allocations: 266.5 kB / 0.7468 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6469, allocations: 0 / 0.7468 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.6472, allocations: 178.6 kB / 0.7469 GB, free: 3.082 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.6473, allocations: 12.7 kB / 0.747 GB, free: 3.07 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.6481, allocations: 0.6474 MB / 0.7476 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6484, allocations: 0.7121 MB / 0.7483 GB, free: 1.664 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.262e-05/0.6484, allocations: 28.53 kB / 0.7483 GB, free: 1.637 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.6485, allocations: 11.44 kB / 0.7483 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of SimCode: time 2.11e-07/0.6485, allocations: 0 / 0.7483 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of Templates: time 0.003103/0.6516, allocations: 1.231 MB / 0.7495 GB, free: 436 kB / 0.5419 GB 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches