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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9599/0.9599, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5988/0.5988, allocations: 88.08 MB / 349.9 MB, free: 14.15 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.732e-05, allocations: 5.844 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002941/0.002969, allocations: 1.305 MB / 400.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.003197, allocations: 43.98 kB / 400.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.003233, allocations: 0 / 400.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.003317, allocations: 3.938 kB / 400.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.003396, allocations: 15.97 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003578, allocations: 19.97 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.003754, allocations: 111.7 kB / 400.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.003795, allocations: 0 / 400.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.003883, allocations: 51.94 kB / 400.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.003978, allocations: 35.89 kB / 400.4 MB, free: 12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.004003, allocations: 8 kB / 400.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.004019, allocations: 4 kB / 400.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.004069, allocations: 19.97 kB / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.004116, allocations: 35.89 kB / 400.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.00421, allocations: 43.86 kB / 400.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.004213, allocations: 4 kB / 400.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004215, allocations: 0 / 400.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004218, allocations: 0 / 400.5 MB, free: 11.89 MB / 378.7 MB 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.00053/0.004748, allocations: 285.5 kB / 400.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.004783, allocations: 12.03 kB / 400.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.004816, allocations: 8.922 kB / 400.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.004925, allocations: 121.7 kB / 400.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004934, allocations: 8.375 kB / 400.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.004955, allocations: 12.38 kB / 400.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.172e-05/0.005037, allocations: 68.44 kB / 401 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.005047, allocations: 4.141 kB / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.005055, allocations: 384 / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.00506, allocations: 4.375 kB / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.005093, allocations: 23.86 kB / 401 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.005213, allocations: 91.81 kB / 401.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.005404, allocations: 82.53 kB / 401.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.005432, allocations: 24.84 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.005442, allocations: 4 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.005459, allocations: 34.56 kB / 401.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.00546, allocations: 0 / 401.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003087/0.005769, allocations: 145.4 kB / 401.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.005794, allocations: 51.41 kB / 401.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.263e-05/0.005837, allocations: 102.7 kB / 401.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.00585, allocations: 33.7 kB / 401.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.005869, allocations: 84.14 kB / 401.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.005909, allocations: 51.56 kB / 401.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.005947, allocations: 37.69 kB / 401.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.006015, allocations: 322.8 kB / 402.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.006037, allocations: 15.94 kB / 402.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.00608, allocations: 63.14 kB / 402.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.006157, allocations: 80.98 kB / 402.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006159, allocations: 0 / 402.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001699/0.006328, allocations: 141 kB / 402.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.006339, allocations: 8 kB / 402.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006343, allocations: 0 / 402.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.006515, allocations: 51.77 kB / 402.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.006681, allocations: 46.03 kB / 402.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007915/0.007473, allocations: 1.277 MB / 403.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.007506, allocations: 11.95 kB / 403.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007513, allocations: 8 kB / 403.8 MB, free: 8.328 MB / 378.7 MB 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 6.16e-05/0.007575, allocations: 120.6 kB / 403.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.007586, allocations: 7.984 kB / 403.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.007607, allocations: 20.06 kB / 403.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007609, allocations: 4 kB / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.007612, allocations: 0 / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007614, allocations: 4.031 kB / 403.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.76e-05/0.007692, allocations: 93.81 kB / 404 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007694, allocations: 0 / 404 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.007807, allocations: 35.98 kB / 404.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.007928, allocations: 51.62 kB / 404.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007938, allocations: 4 kB / 404.1 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006232/0.008562, allocations: 1.283 MB / 405.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008562, allocations: 0 / 405.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008745, allocations: 185.5 kB / 405.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.00875, allocations: 7.922 kB / 405.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.008762, allocations: 8 kB / 405.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.008782, allocations: 0 / 405.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.008803, allocations: 11.92 kB / 405.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.008808, allocations: 4 kB / 405.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.001e-05/0.008818, allocations: 12.84 kB / 405.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008818, allocations: 4 kB / 405.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.008947, allocations: 28 kB / 405.7 MB, free: 6.297 MB / 378.7 MB 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 6.666e-05/0.009014, allocations: 84.36 kB / 405.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.009247, allocations: 211.2 kB / 405.9 MB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.00925, allocations: 4 kB / 405.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.009368, allocations: 163.7 kB / 406.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.341e-05/0.009442, allocations: 11 kB / 406.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.009778, allocations: 331.4 kB / 406.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.009811, allocations: 67.97 kB / 406.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.133e-05/0.009833, allocations: 12.48 kB / 406.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.009875, allocations: 59.38 kB / 406.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009875, allocations: 0 / 406.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of Templates: time 0.003117/0.01299, allocations: 1.509 MB / 408.1 MB, free: 3.836 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1005486072972417]