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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0009524/0.0009525, allocations: 175.2 kB / 17.4 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007885, allocations: 90.41 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7358/0.7358, allocations: 120.4 MB / 440.6 MB, free: 4.109 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 15.92 kB / 0.5188 GB, free: 57.27 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 80.01 MB / 0.597 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/0.7236, allocations: 124.4 MB / 0.7185 GB, free: 18.73 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001322/0.7237, allocations: 51.73 kB / 0.7185 GB, free: 18.73 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.003034/0.7268, allocations: 1.246 MB / 0.7197 GB, free: 18.34 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7268, allocations: 0 / 0.7197 GB, free: 18.34 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7268, allocations: 4 kB / 0.7197 GB, free: 18.33 MB / 0.4953 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.0003436/0.7272, allocations: 382 kB / 0.7201 GB, free: 17.97 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7272, allocations: 7.531 kB / 0.7201 GB, free: 17.97 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.7273, allocations: 8.625 kB / 0.7201 GB, free: 17.96 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7274, allocations: 185.5 kB / 0.7203 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.7274, allocations: 3.562 kB / 0.7203 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.7274, allocations: 12.09 kB / 0.7203 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.7276, allocations: 90.09 kB / 0.7204 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7276, allocations: 7.781 kB / 0.7204 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.7276, allocations: 3.938 kB / 0.7204 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7276, allocations: 0 / 0.7204 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.7277, allocations: 45.56 kB / 0.7204 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.7279, allocations: 212 kB / 0.7206 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.7282, allocations: 132 kB / 0.7208 GB, free: 17.5 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.7283, allocations: 55.38 kB / 0.7208 GB, free: 17.49 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.7283, allocations: 0 / 0.7208 GB, free: 17.49 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.7283, allocations: 34.41 kB / 0.7209 GB, free: 17.45 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.7283, allocations: 0 / 0.7209 GB, free: 17.45 MB / 0.4953 GB Notification: Performance of matching and sorting (n=12): time 0.0006306/0.729, allocations: 316.4 kB / 0.7212 GB, free: 17.3 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.729, allocations: 51.41 kB / 0.7212 GB, free: 17.24 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.609e-05/0.729, allocations: 107.7 kB / 0.7213 GB, free: 17.14 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.7291, allocations: 29.33 kB / 0.7213 GB, free: 17.11 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.439e-05/0.7291, allocations: 83.19 kB / 0.7214 GB, free: 17.02 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.7291, allocations: 57.64 kB / 0.7215 GB, free: 16.98 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.7291, allocations: 7.875 kB / 0.7215 GB, free: 16.98 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.7292, allocations: 325.5 kB / 0.7218 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.7293, allocations: 48.2 kB / 0.7218 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.7293, allocations: 81.5 kB / 0.7219 GB, free: 16.62 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.7295, allocations: 152.2 kB / 0.7221 GB, free: 16.57 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7295, allocations: 2.25 kB / 0.7221 GB, free: 16.57 MB / 0.4953 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003511/0.7299, allocations: 228.7 kB / 0.7223 GB, free: 16.52 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7299, allocations: 17.8 kB / 0.7223 GB, free: 16.51 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7299, allocations: 0 / 0.7223 GB, free: 16.51 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.7302, allocations: 59.78 kB / 0.7224 GB, free: 16.5 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.7303, allocations: 33.72 kB / 0.7224 GB, free: 16.5 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009456/0.7312, allocations: 1.467 MB / 0.7238 GB, free: 15.16 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.7313, allocations: 19.69 kB / 0.7238 GB, free: 15.15 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.7313, allocations: 9.406 kB / 0.7238 GB, free: 15.15 MB / 0.4953 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 6.493e-05/0.7314, allocations: 128 kB / 0.724 GB, free: 15.02 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.7314, allocations: 3.844 kB / 0.724 GB, free: 15.02 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.7315, allocations: 15.28 kB / 0.724 GB, free: 15.01 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7315, allocations: 3.688 kB / 0.724 GB, free: 15.01 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.7315, allocations: 0 / 0.724 GB, free: 15.01 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7315, allocations: 0 / 0.724 GB, free: 15.01 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.7316, allocations: 215.6 kB / 0.7242 GB, free: 14.79 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7316, allocations: 0 / 0.7242 GB, free: 14.79 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.7318, allocations: 30.92 kB / 0.7242 GB, free: 14.79 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.732, allocations: 56.56 kB / 0.7243 GB, free: 14.77 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.732, allocations: 11.7 kB / 0.7243 GB, free: 14.76 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000849/0.7329, allocations: 1.477 MB / 0.7257 GB, free: 13.26 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7329, allocations: 0 / 0.7257 GB, free: 13.26 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.7332, allocations: 259.9 kB / 0.726 GB, free: 13.03 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.7333, allocations: 89 kB / 0.7261 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7333, allocations: 0 / 0.7261 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.7334, allocations: 11.88 kB / 0.7261 GB, free: 12.92 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.7334, allocations: 7.984 kB / 0.7261 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.7334, allocations: 4 kB / 0.7261 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.7334, allocations: 83.2 kB / 0.7262 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7334, allocations: 0 / 0.7262 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002071/0.7336, allocations: 31.25 kB / 0.7262 GB, free: 12.8 MB / 0.4953 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 8.715e-05/0.7337, allocations: 103.2 kB / 0.7263 GB, free: 12.69 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.7342, allocations: 261.4 kB / 0.7265 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7342, allocations: 0 / 0.7265 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.7344, allocations: 181.7 kB / 0.7267 GB, free: 12.28 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.7346, allocations: 15.69 kB / 0.7267 GB, free: 12.27 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.7353, allocations: 0.7933 MB / 0.7275 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.7357, allocations: 0.7121 MB / 0.7282 GB, free: 26.72 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 5.498e-05/0.7358, allocations: 24.53 kB / 0.7282 GB, free: 26.7 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.7358, allocations: 15.44 kB / 0.7282 GB, free: 26.68 MB / 0.5109 GB Notification: Performance of SimCode: time 2.2e-07/0.7358, allocations: 0 / 0.7282 GB, free: 26.68 MB / 0.5109 GB Notification: Performance of Templates: time 0.002872/0.7387, allocations: 1.227 MB / 0.7294 GB, free: 25.47 MB / 0.5109 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/jenkins1/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