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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 106.3 kB / 17.06 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 196 kB / 18 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.079/1.079, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 57.34 kB / 0.5709 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1969, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002477/0.1994, allocations: 1.214 MB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.1997, allocations: 47.86 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1997, allocations: 0 / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1999, allocations: 7.922 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.2, allocations: 4 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2002, allocations: 23.89 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.2004, allocations: 107.8 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.2004, allocations: 4 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.2005, allocations: 43.95 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.2006, allocations: 27.91 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2006, allocations: 4 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.2007, allocations: 4 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.2007, allocations: 31.95 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.2008, allocations: 35.84 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.17e-05/0.2009, allocations: 43.81 kB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2009, allocations: 0 / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2009, allocations: 0 / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2009, allocations: 0 / 0.6512 GB, free: 11.48 MB / 0.4983 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.0006663/0.2016, allocations: 407.4 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2016, allocations: 11.89 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.2017, allocations: 8.844 kB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2019, allocations: 184.3 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2019, allocations: 8.359 kB / 0.6518 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.202, allocations: 16.28 kB / 0.6519 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2022, allocations: 86.14 kB / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2022, allocations: 192 / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.2022, allocations: 7.938 kB / 0.6519 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2022, allocations: 4 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.2023, allocations: 43.95 kB / 0.652 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.2026, allocations: 205.6 kB / 0.6522 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.203, allocations: 138.5 kB / 0.6523 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.2031, allocations: 53.16 kB / 0.6524 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.2031, allocations: 3.938 kB / 0.6524 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.2031, allocations: 30.56 kB / 0.6524 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2031, allocations: 4 kB / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007441/0.2039, allocations: 311.3 kB / 0.6527 GB, free: 9.793 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2039, allocations: 51.41 kB / 0.6527 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.204, allocations: 101.8 kB / 0.6528 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.204, allocations: 29.7 kB / 0.6529 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.2041, allocations: 86.48 kB / 0.653 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.2041, allocations: 39.36 kB / 0.653 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.2042, allocations: 49.98 kB / 0.653 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2043, allocations: 322.8 kB / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.2044, allocations: 51.95 kB / 0.6534 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2045, allocations: 90.78 kB / 0.6535 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.2048, allocations: 144.2 kB / 0.6536 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2048, allocations: 3.938 kB / 0.6536 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000434/0.2052, allocations: 226.2 kB / 0.6538 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2052, allocations: 16 kB / 0.6539 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2053, allocations: 8 kB / 0.6539 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.2056, allocations: 60.8 kB / 0.6539 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2057, allocations: 35.92 kB / 0.654 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.2073, allocations: 1.586 MB / 0.6555 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.2073, allocations: 12.03 kB / 0.6555 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2074, allocations: 8 kB / 0.6555 GB, free: 6.664 MB / 0.4983 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 0.0001347/0.2075, allocations: 132.8 kB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.2075, allocations: 3.906 kB / 0.6557 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.2076, allocations: 19.97 kB / 0.6557 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2076, allocations: 0 / 0.6557 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2076, allocations: 0 / 0.6557 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2076, allocations: 3.984 kB / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2078, allocations: 209.5 kB / 0.6559 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2078, allocations: 0 / 0.6559 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.208, allocations: 23.98 kB / 0.6559 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.2083, allocations: 60.73 kB / 0.656 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2083, allocations: 11.98 kB / 0.656 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.2097, allocations: 1.586 MB / 0.6575 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2097, allocations: 0 / 0.6575 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.2102, allocations: 254.2 kB / 0.6578 GB, free: 4.16 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2102, allocations: 85.02 kB / 0.6578 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2102, allocations: 7.984 kB / 0.6579 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.2103, allocations: 12 kB / 0.6579 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.2103, allocations: 11.98 kB / 0.6579 GB, free: 4.027 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2104, allocations: 3.938 kB / 0.6579 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.2104, allocations: 79.28 kB / 0.658 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2104, allocations: 0 / 0.658 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002463/0.2107, allocations: 28 kB / 0.658 GB, free: 3.918 MB / 0.4983 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.000137/0.2108, allocations: 115.6 kB / 0.6581 GB, free: 3.793 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.2113, allocations: 258.7 kB / 0.6583 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2114, allocations: 0 / 0.6583 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.2116, allocations: 198.5 kB / 0.6585 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.2118, allocations: 8 kB / 0.6585 GB, free: 3.312 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.2128, allocations: 0.6497 MB / 0.6592 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2131, allocations: 0.704 MB / 0.6599 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.2131, allocations: 28.52 kB / 0.6599 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2132, allocations: 15.44 kB / 0.6599 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of SimCode: time 1.252e-06/0.2132, allocations: 3.938 kB / 0.6599 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of Templates: time 0.004193/0.2174, allocations: 1.326 MB / 0.6612 GB, free: 0.5703 MB / 0.4983 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches