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.001796/0.001796, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.396/1.396, 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.000999/0.0009988, allocations: 88.66 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7544/0.7544, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 12 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.85 MB / 0.6242 GB, free: 9.211 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7219/0.8673, allocations: 125.3 MB / 0.7466 GB, free: 8.688 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/0.8675, allocations: 53.16 kB / 0.7467 GB, free: 8.664 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.00389/0.8714, allocations: 1.259 MB / 0.7479 GB, free: 7.516 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8714, allocations: 0 / 0.7479 GB, free: 7.516 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.8714, allocations: 4 kB / 0.7479 GB, free: 7.512 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.0004844/0.8719, allocations: 383.7 kB / 0.7483 GB, free: 7.094 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.872, allocations: 8.031 kB / 0.7483 GB, free: 7.086 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.872, allocations: 7.953 kB / 0.7483 GB, free: 7.078 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.8723, allocations: 178.9 kB / 0.7485 GB, free: 6.863 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8723, allocations: 7.875 kB / 0.7485 GB, free: 6.859 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.8723, allocations: 23.77 kB / 0.7485 GB, free: 6.84 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.8725, allocations: 85.2 kB / 0.7486 GB, free: 6.762 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.8726, allocations: 0 / 0.7486 GB, free: 6.762 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8726, allocations: 3.875 kB / 0.7486 GB, free: 6.762 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8726, allocations: 3.953 kB / 0.7486 GB, free: 6.758 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.8727, allocations: 43.41 kB / 0.7486 GB, free: 6.723 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.873, allocations: 205 kB / 0.7488 GB, free: 6.488 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.8734, allocations: 133.5 kB / 0.7489 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.8734, allocations: 7.984 kB / 0.749 GB, free: 6.367 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.8735, allocations: 38.44 kB / 0.749 GB, free: 6.324 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.8735, allocations: 0 / 0.749 GB, free: 6.324 MB / 0.5107 GB Notification: Performance of matching and sorting (n=12): time 0.0007888/0.8743, allocations: 321.2 kB / 0.7493 GB, free: 6.016 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.8743, allocations: 51.41 kB / 0.7493 GB, free: 5.953 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.8744, allocations: 93 kB / 0.7494 GB, free: 5.855 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.8744, allocations: 33.52 kB / 0.7495 GB, free: 5.82 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.8745, allocations: 88.11 kB / 0.7495 GB, free: 5.73 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.8745, allocations: 47.05 kB / 0.7496 GB, free: 5.691 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.8745, allocations: 7.625 kB / 0.7496 GB, free: 5.688 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8747, allocations: 314.7 kB / 0.7499 GB, free: 5.375 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.8747, allocations: 51.58 kB / 0.7499 GB, free: 5.336 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8748, allocations: 91.81 kB / 0.75 GB, free: 5.246 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.875, allocations: 67.3 kB / 0.7501 GB, free: 5.195 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.875, allocations: 3.938 kB / 0.7501 GB, free: 5.191 MB / 0.5107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004366/0.8754, allocations: 232.4 kB / 0.7503 GB, free: 4.996 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8754, allocations: 6.812 kB / 0.7503 GB, free: 4.992 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8755, allocations: 0 / 0.7503 GB, free: 4.992 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.8758, allocations: 60.73 kB / 0.7504 GB, free: 4.934 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8759, allocations: 31.92 kB / 0.7504 GB, free: 4.902 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.8774, allocations: 1.499 MB / 0.7519 GB, free: 3.348 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.8775, allocations: 7.969 kB / 0.7519 GB, free: 3.34 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.8775, allocations: 7.938 kB / 0.7519 GB, free: 3.336 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 9.421e-05/0.8776, allocations: 121.8 kB / 0.752 GB, free: 3.211 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.8776, allocations: 3.906 kB / 0.752 GB, free: 3.207 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.8777, allocations: 20.06 kB / 0.752 GB, free: 3.191 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.8777, allocations: 64 / 0.752 GB, free: 3.191 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8777, allocations: 7.953 kB / 0.752 GB, free: 3.184 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8777, allocations: 0 / 0.752 GB, free: 3.184 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.8779, allocations: 209.1 kB / 0.7522 GB, free: 2.941 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8779, allocations: 3.984 kB / 0.7522 GB, free: 2.938 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.8781, allocations: 35.86 kB / 0.7523 GB, free: 2.902 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.8784, allocations: 60.23 kB / 0.7523 GB, free: 2.848 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.8784, allocations: 7.984 kB / 0.7523 GB, free: 2.84 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.8797, allocations: 1.485 MB / 0.7538 GB, free: 1.297 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8798, allocations: 7.938 kB / 0.7538 GB, free: 1.289 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.8802, allocations: 256.2 kB / 0.7541 GB, free: 1.062 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.8803, allocations: 85.17 kB / 0.7541 GB, free: 0.9609 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.8803, allocations: 0 / 0.7541 GB, free: 0.9609 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.8804, allocations: 11.8 kB / 0.7541 GB, free: 0.9531 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.8804, allocations: 11.92 kB / 0.7542 GB, free: 0.9414 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.8804, allocations: 4.875 kB / 0.7542 GB, free: 0.9375 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.8805, allocations: 75.28 kB / 0.7542 GB, free: 0.8633 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1e-07/0.8805, allocations: 0 / 0.7542 GB, free: 0.8633 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002427/0.8807, allocations: 31.75 kB / 0.7543 GB, free: 0.8398 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.0001331/0.8809, allocations: 107.2 kB / 0.7544 GB, free: 0.7266 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.8814, allocations: 254 kB / 0.7546 GB, free: 0.4961 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8814, allocations: 0 / 0.7546 GB, free: 0.4961 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.8817, allocations: 194 kB / 0.7548 GB, free: 316 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.8818, allocations: 10.86 kB / 0.7548 GB, free: 312 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.8828, allocations: 0.7999 MB / 0.7556 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.8831, allocations: 0.7083 MB / 0.7563 GB, free: 14.75 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.8832, allocations: 24.53 kB / 0.7563 GB, free: 14.73 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.8832, allocations: 15.44 kB / 0.7563 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of SimCode: time 2.21e-07/0.8832, allocations: 0 / 0.7563 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of Templates: time 0.003388/0.8866, allocations: 1.234 MB / 0.7575 GB, free: 13.53 MB / 0.5263 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