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.001912/0.001912, allocations: 180.2 kB / 16.39 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.455/1.455, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009652/0.0009653, allocations: 88.94 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9097/0.9097, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 8 kB / 0.5433 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 82.84 MB / 0.6242 GB, free: 9.234 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8055/0.9617, allocations: 125.3 MB / 0.7466 GB, free: 8.609 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001473/0.9619, allocations: 47.36 kB / 0.7467 GB, free: 8.59 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.003742/0.9657, allocations: 1.258 MB / 0.7479 GB, free: 7.445 MB / 0.5107 GB Notification: Performance of FrontEnd: time 5.33e-06/0.9657, allocations: 8 kB / 0.7479 GB, free: 7.438 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9657, allocations: 0 / 0.7479 GB, free: 7.438 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.0005132/0.9662, allocations: 375.6 kB / 0.7483 GB, free: 7.027 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.9663, allocations: 12.03 kB / 0.7483 GB, free: 7.016 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.9663, allocations: 7.953 kB / 0.7483 GB, free: 7.008 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.9666, allocations: 178.9 kB / 0.7484 GB, free: 6.793 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.9666, allocations: 7.812 kB / 0.7484 GB, free: 6.789 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.9666, allocations: 19.78 kB / 0.7485 GB, free: 6.773 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.9668, allocations: 85.25 kB / 0.7486 GB, free: 6.695 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9669, allocations: 0 / 0.7486 GB, free: 6.695 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.9669, allocations: 3.812 kB / 0.7486 GB, free: 6.695 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.9669, allocations: 7.953 kB / 0.7486 GB, free: 6.688 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.967, allocations: 43.72 kB / 0.7486 GB, free: 6.652 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.9673, allocations: 209.1 kB / 0.7488 GB, free: 6.414 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.9677, allocations: 140.7 kB / 0.7489 GB, free: 6.293 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.9677, allocations: 0 / 0.7489 GB, free: 6.293 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.9677, allocations: 34.5 kB / 0.749 GB, free: 6.254 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.9677, allocations: 0 / 0.749 GB, free: 6.254 MB / 0.5107 GB Notification: Performance of matching and sorting (n=12): time 0.0007858/0.9685, allocations: 316.6 kB / 0.7493 GB, free: 5.945 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.9686, allocations: 59.39 kB / 0.7493 GB, free: 5.875 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.9687, allocations: 92.56 kB / 0.7494 GB, free: 5.781 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.9687, allocations: 29.2 kB / 0.7494 GB, free: 5.75 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.9687, allocations: 80.14 kB / 0.7495 GB, free: 5.668 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.9688, allocations: 50.55 kB / 0.7496 GB, free: 5.625 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.9688, allocations: 11.44 kB / 0.7496 GB, free: 5.617 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.969, allocations: 322.3 kB / 0.7499 GB, free: 5.297 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.969, allocations: 50.58 kB / 0.7499 GB, free: 5.258 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.9692, allocations: 86.56 kB / 0.75 GB, free: 5.172 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.9693, allocations: 72.08 kB / 0.7501 GB, free: 5.121 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9693, allocations: 3.938 kB / 0.7501 GB, free: 5.117 MB / 0.5107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00043/0.9697, allocations: 224.1 kB / 0.7503 GB, free: 4.93 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9697, allocations: 6.812 kB / 0.7503 GB, free: 4.926 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9697, allocations: 0 / 0.7503 GB, free: 4.926 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/0.9701, allocations: 68.53 kB / 0.7504 GB, free: 4.859 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.9702, allocations: 35.92 kB / 0.7504 GB, free: 4.824 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.9719, allocations: 1.492 MB / 0.7519 GB, free: 3.277 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.972, allocations: 11.95 kB / 0.7519 GB, free: 3.266 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.972, allocations: 7.5 kB / 0.7519 GB, free: 3.262 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.0001036/0.9721, allocations: 121.5 kB / 0.752 GB, free: 3.137 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.9721, allocations: 7.906 kB / 0.752 GB, free: 3.129 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.9722, allocations: 15.03 kB / 0.752 GB, free: 3.117 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9722, allocations: 3.984 kB / 0.752 GB, free: 3.113 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9722, allocations: 7.891 kB / 0.752 GB, free: 3.105 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9722, allocations: 4 kB / 0.752 GB, free: 3.102 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.9724, allocations: 200.1 kB / 0.7522 GB, free: 2.871 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9724, allocations: 0 / 0.7522 GB, free: 2.871 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.9726, allocations: 31.92 kB / 0.7523 GB, free: 2.84 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.9729, allocations: 64.41 kB / 0.7523 GB, free: 2.777 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.9729, allocations: 7.438 kB / 0.7523 GB, free: 2.773 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.9743, allocations: 1.49 MB / 0.7538 GB, free: 1.227 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9743, allocations: 3.953 kB / 0.7538 GB, free: 1.223 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.9748, allocations: 258.8 kB / 0.754 GB, free: 0.9922 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.9748, allocations: 85.09 kB / 0.7541 GB, free: 0.8906 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.9749, allocations: 4 kB / 0.7541 GB, free: 0.8867 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.9749, allocations: 0 / 0.7541 GB, free: 0.8867 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.975, allocations: 15.73 kB / 0.7541 GB, free: 0.875 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.975, allocations: 8.875 kB / 0.7541 GB, free: 0.8672 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.975, allocations: 79.27 kB / 0.7542 GB, free: 0.7891 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.975, allocations: 0 / 0.7542 GB, free: 0.7891 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002399/0.9753, allocations: 35.81 kB / 0.7543 GB, free: 0.7617 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.0001295/0.9754, allocations: 96.75 kB / 0.7543 GB, free: 0.6602 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.9759, allocations: 260.6 kB / 0.7546 GB, free: 432 kB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9759, allocations: 4.062 kB / 0.7546 GB, free: 428 kB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.9762, allocations: 191.1 kB / 0.7548 GB, free: 240 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.9764, allocations: 7.562 kB / 0.7548 GB, free: 236 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.9775, allocations: 0.7949 MB / 0.7556 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.9778, allocations: 0.7158 MB / 0.7563 GB, free: 14.68 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 5.996e-05/0.9779, allocations: 24.53 kB / 0.7563 GB, free: 14.66 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.9779, allocations: 11.44 kB / 0.7563 GB, free: 14.64 MB / 0.5263 GB Notification: Performance of SimCode: time 2.3e-07/0.9779, allocations: 3.938 kB / 0.7563 GB, free: 14.64 MB / 0.5263 GB Notification: Performance of Templates: time 0.003772/0.9817, allocations: 1.233 MB / 0.7575 GB, free: 13.46 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/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