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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.332/1.332, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 94.2 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8514/0.8514, allocations: 120.5 MB / 463.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 0.5433 GB, free: 42.46 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 82.85 MB / 0.6242 GB, free: 9.246 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7465/0.8971, allocations: 125.3 MB / 0.7466 GB, free: 8.809 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.8974, allocations: 47.61 kB / 0.7467 GB, free: 8.789 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.003861/0.9012, allocations: 1.259 MB / 0.7479 GB, free: 7.641 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9013, allocations: 4 kB / 0.7479 GB, free: 7.637 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.9013, allocations: 4 kB / 0.7479 GB, free: 7.633 MB / 0.5107 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.0004939/0.9018, allocations: 371.7 kB / 0.7483 GB, free: 7.227 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9019, allocations: 16.03 kB / 0.7483 GB, free: 7.211 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.9019, allocations: 7.953 kB / 0.7483 GB, free: 7.203 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.9021, allocations: 175 kB / 0.7485 GB, free: 6.992 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.9021, allocations: 7.938 kB / 0.7485 GB, free: 6.984 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.9022, allocations: 19.78 kB / 0.7485 GB, free: 6.969 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.9024, allocations: 86.23 kB / 0.7486 GB, free: 6.895 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.9024, allocations: 3.984 kB / 0.7486 GB, free: 6.891 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.9024, allocations: 0 / 0.7486 GB, free: 6.891 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.9024, allocations: 3.953 kB / 0.7486 GB, free: 6.887 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.9025, allocations: 43.22 kB / 0.7486 GB, free: 6.855 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.9028, allocations: 208.7 kB / 0.7488 GB, free: 6.617 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.9032, allocations: 133.3 kB / 0.7489 GB, free: 6.504 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.9032, allocations: 7.984 kB / 0.749 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.9032, allocations: 30.56 kB / 0.749 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.9032, allocations: 0 / 0.749 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of matching and sorting (n=12): time 0.0007862/0.904, allocations: 320.8 kB / 0.7493 GB, free: 6.148 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.9041, allocations: 55.34 kB / 0.7493 GB, free: 6.082 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.9042, allocations: 96.23 kB / 0.7494 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.9042, allocations: 33.58 kB / 0.7495 GB, free: 5.949 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.9042, allocations: 80.14 kB / 0.7495 GB, free: 5.867 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.9043, allocations: 51.03 kB / 0.7496 GB, free: 5.824 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.9043, allocations: 11.94 kB / 0.7496 GB, free: 5.816 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9044, allocations: 318.7 kB / 0.7499 GB, free: 5.5 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.9045, allocations: 47.09 kB / 0.75 GB, free: 5.465 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.9046, allocations: 83.94 kB / 0.75 GB, free: 5.379 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.9048, allocations: 70.61 kB / 0.7501 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9048, allocations: 7.875 kB / 0.7501 GB, free: 5.32 MB / 0.5107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000456/0.9052, allocations: 224.7 kB / 0.7503 GB, free: 5.133 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9053, allocations: 11.12 kB / 0.7503 GB, free: 5.125 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9053, allocations: 0 / 0.7503 GB, free: 5.125 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.9056, allocations: 68.84 kB / 0.7504 GB, free: 5.059 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.9058, allocations: 24 kB / 0.7504 GB, free: 5.035 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.9073, allocations: 1.499 MB / 0.7519 GB, free: 3.48 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.9073, allocations: 7.938 kB / 0.7519 GB, free: 3.473 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.9074, allocations: 11.92 kB / 0.7519 GB, free: 3.465 MB / 0.5107 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 () * 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 (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 0.0001118/0.9075, allocations: 125.8 kB / 0.752 GB, free: 3.336 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.9075, allocations: 3.906 kB / 0.752 GB, free: 3.332 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.9076, allocations: 14.78 kB / 0.752 GB, free: 3.32 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9076, allocations: 4 kB / 0.752 GB, free: 3.316 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9076, allocations: 3.953 kB / 0.752 GB, free: 3.312 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9076, allocations: 3.984 kB / 0.7521 GB, free: 3.309 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.9078, allocations: 197.3 kB / 0.7522 GB, free: 3.078 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9078, allocations: 0 / 0.7522 GB, free: 3.078 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.908, allocations: 31.86 kB / 0.7523 GB, free: 3.051 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.9082, allocations: 68.53 kB / 0.7523 GB, free: 2.984 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.9083, allocations: 4 kB / 0.7523 GB, free: 2.98 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.9096, allocations: 1.499 MB / 0.7538 GB, free: 1.426 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9097, allocations: 3.953 kB / 0.7538 GB, free: 1.422 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.9101, allocations: 260.7 kB / 0.7541 GB, free: 1.188 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.9102, allocations: 85.09 kB / 0.7541 GB, free: 1.086 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.9102, allocations: 6.312 kB / 0.7541 GB, free: 1.086 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.9103, allocations: 4 kB / 0.7541 GB, free: 1.082 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.9103, allocations: 15.86 kB / 0.7542 GB, free: 1.07 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.9103, allocations: 8 kB / 0.7542 GB, free: 1.062 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.9104, allocations: 79.27 kB / 0.7542 GB, free: 0.9844 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9104, allocations: 0 / 0.7542 GB, free: 0.9844 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000232/0.9106, allocations: 27.81 kB / 0.7543 GB, free: 0.9609 MB / 0.5107 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 () * 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 (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.0001296/0.9108, allocations: 102.9 kB / 0.7544 GB, free: 0.8555 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.9113, allocations: 265.5 kB / 0.7546 GB, free: 0.6133 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9113, allocations: 0 / 0.7546 GB, free: 0.6133 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.9116, allocations: 189.6 kB / 0.7548 GB, free: 440 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.9117, allocations: 4 kB / 0.7548 GB, free: 436 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.9128, allocations: 0.8015 MB / 0.7556 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.9131, allocations: 0.7043 MB / 0.7563 GB, free: 14.88 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 6.966e-05/0.9132, allocations: 28.52 kB / 0.7563 GB, free: 14.86 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.9132, allocations: 11.44 kB / 0.7563 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of SimCode: time 3.91e-07/0.9132, allocations: 0 / 0.7563 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of Templates: time 0.003604/0.9168, allocations: 1.22 MB / 0.7575 GB, free: 13.67 MB / 0.5263 GB 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/jenkins/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