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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 124.6 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8845/0.8845, allocations: 120.6 MB / 424.6 MB, free: 5.641 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 59.91 kB / 0.5937 GB, free: 2.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.7011, allocations: 84.64 MB / 0.6763 GB, free: 16.73 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002371/0.7035, allocations: 1.229 MB / 0.6775 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.7037, allocations: 42.61 kB / 0.6776 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.7038, allocations: 1.312 kB / 0.6776 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.956e-05/0.7038, allocations: 0 / 0.6776 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.7039, allocations: 18.23 kB / 0.6776 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.7041, allocations: 20.91 kB / 0.6776 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.7042, allocations: 106 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.7043, allocations: 2.156 kB / 0.6777 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.7044, allocations: 37.12 kB / 0.6778 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.7044, allocations: 36.39 kB / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.7045, allocations: 5.219 kB / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.7045, allocations: 3.812 kB / 0.6778 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.7045, allocations: 33.17 kB / 0.6778 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.7046, allocations: 27.16 kB / 0.6779 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.7047, allocations: 56.77 kB / 0.6779 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7047, allocations: 4 kB / 0.6779 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7047, allocations: 1.188 kB / 0.6779 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7047, allocations: 0 / 0.6779 GB, free: 15.53 MB / 0.5139 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.0006654/0.7054, allocations: 402.1 kB / 0.6783 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7054, allocations: 11.8 kB / 0.6783 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.7055, allocations: 8.797 kB / 0.6783 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.7056, allocations: 178 kB / 0.6785 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.7056, allocations: 11.7 kB / 0.6785 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.7057, allocations: 15.2 kB / 0.6785 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.7058, allocations: 86.36 kB / 0.6786 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.7059, allocations: 1.75 kB / 0.6786 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7059, allocations: 7.938 kB / 0.6786 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7059, allocations: 5.5 kB / 0.6786 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.706, allocations: 47.2 kB / 0.6787 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.7062, allocations: 205.4 kB / 0.6789 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.7065, allocations: 124.9 kB / 0.679 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.7066, allocations: 48.2 kB / 0.679 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.7066, allocations: 1.375 kB / 0.679 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.7066, allocations: 39.88 kB / 0.6791 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.7066, allocations: 0 / 0.6791 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0006902/0.7073, allocations: 310.8 kB / 0.6794 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.7074, allocations: 54.16 kB / 0.6794 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.7074, allocations: 105.9 kB / 0.6795 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.7074, allocations: 35.08 kB / 0.6795 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.7074, allocations: 81.52 kB / 0.6796 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.7075, allocations: 49.09 kB / 0.6797 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.7075, allocations: 39.45 kB / 0.6797 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.7076, allocations: 321.5 kB / 0.68 GB, free: 13.54 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.7077, allocations: 52.83 kB / 0.6801 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.7078, allocations: 86.62 kB / 0.6801 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.7079, allocations: 143.6 kB / 0.6803 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.708, allocations: 1.375 kB / 0.6803 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004266/0.7084, allocations: 226.9 kB / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.7084, allocations: 9.469 kB / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7084, allocations: 1.875 kB / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.7088, allocations: 65.23 kB / 0.6806 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.7089, allocations: 34.95 kB / 0.6806 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.7101, allocations: 1.587 MB / 0.6822 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.7102, allocations: 14.67 kB / 0.6822 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.7102, allocations: 5.531 kB / 0.6822 GB, free: 11.63 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.7103, allocations: 127.2 kB / 0.6823 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.7103, allocations: 2.844 kB / 0.6823 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.7104, allocations: 20.88 kB / 0.6823 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7104, allocations: 1.844 kB / 0.6823 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7104, allocations: 0.9375 kB / 0.6823 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7104, allocations: 3.984 kB / 0.6823 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7105, allocations: 208 kB / 0.6825 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7105, allocations: 0.9375 kB / 0.6825 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.7107, allocations: 26.11 kB / 0.6826 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.711, allocations: 67.23 kB / 0.6826 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.711, allocations: 7.672 kB / 0.6826 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.7122, allocations: 1.582 MB / 0.6842 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7122, allocations: 4 kB / 0.6842 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.7126, allocations: 260.2 kB / 0.6844 GB, free: 9.512 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.7127, allocations: 83.86 kB / 0.6845 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.7127, allocations: 6.766 kB / 0.6845 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.7127, allocations: 0.9062 kB / 0.6845 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.7128, allocations: 12.61 kB / 0.6845 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.7128, allocations: 6.688 kB / 0.6845 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.7128, allocations: 78.06 kB / 0.6846 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.7128, allocations: 4 kB / 0.6846 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000274/0.7131, allocations: 28.22 kB / 0.6846 GB, free: 9.316 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.7132, allocations: 112 kB / 0.6847 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.7137, allocations: 256.8 kB / 0.685 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7137, allocations: 3.938 kB / 0.685 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.714, allocations: 191.4 kB / 0.6852 GB, free: 8.883 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.7142, allocations: 11.06 kB / 0.6852 GB, free: 8.875 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.7151, allocations: 0.6607 MB / 0.6858 GB, free: 8.324 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.7153, allocations: 0.7055 MB / 0.6865 GB, free: 7.613 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.305e-05/0.7153, allocations: 27.67 kB / 0.6865 GB, free: 7.602 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.7154, allocations: 12.5 kB / 0.6866 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of SimCode: time 1.012e-06/0.7154, allocations: 0 / 0.6866 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of Templates: time 0.004683/0.7201, allocations: 1.347 MB / 0.6879 GB, free: 6.965 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.37713317014277]