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.002061/0.002061, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002239/0.002239, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 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 1.612/1.612, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.9675/0.9675, allocations: 88.07 MB / 349.1 MB, free: 14.24 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.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=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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 450.8 MB, free: 33.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.806e-05, allocations: 5.406 kB / 450.8 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001835/0.001863, allocations: 1.219 MB / 452 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000187/0.00205, allocations: 49.59 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.002083, allocations: 0 / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/0.002167, allocations: 6.906 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.002229, allocations: 3.047 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.002405, allocations: 30.31 kB / 452.1 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.002542, allocations: 105.5 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.002578, allocations: 2.562 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.002651, allocations: 48.84 kB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.002729, allocations: 32.66 kB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.002756, allocations: 14 kB / 452.3 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.002777, allocations: 2.969 kB / 452.3 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.002825, allocations: 29.44 kB / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.002868, allocations: 21.42 kB / 452.4 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.435e-05/0.002952, allocations: 51.5 kB / 452.4 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.002955, allocations: 2.906 kB / 452.4 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002955, allocations: 0 / 452.4 MB, free: 32.1 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00296, allocations: 0 / 452.4 MB, free: 32.1 MB / 410.8 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.000535/0.003495, allocations: 430.2 kB / 452.8 MB, free: 31.71 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003533, allocations: 11.44 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.003585, allocations: 7.922 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.003735, allocations: 132.5 kB / 453 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003748, allocations: 3.25 kB / 453 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.003778, allocations: 9.656 kB / 453 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.00392, allocations: 79.48 kB / 453.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.003933, allocations: 192 / 453.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003945, allocations: 384 / 453.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.003951, allocations: 2.938 kB / 453.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.00403, allocations: 28.44 kB / 453.1 MB, free: 31.51 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.00423, allocations: 141.6 kB / 453.3 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.004605, allocations: 111.7 kB / 453.4 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.004665, allocations: 29.56 kB / 453.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004682, allocations: 2.969 kB / 453.4 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.004699, allocations: 33.39 kB / 453.4 MB, free: 31.25 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.0047, allocations: 7.938 kB / 453.4 MB, free: 31.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0006908/0.005391, allocations: 174.4 kB / 453.6 MB, free: 31.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.005418, allocations: 55.34 kB / 453.7 MB, free: 31.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.005485, allocations: 163.3 kB / 453.8 MB, free: 30.94 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.005499, allocations: 29.7 kB / 453.8 MB, free: 30.9 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.005532, allocations: 133.8 kB / 454 MB, free: 30.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.005587, allocations: 64.42 kB / 454 MB, free: 30.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.005646, allocations: 42.47 kB / 454.1 MB, free: 30.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.005747, allocations: 0.4946 MB / 454.6 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.005801, allocations: 24.73 kB / 454.6 MB, free: 30.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.005879, allocations: 80.33 kB / 454.7 MB, free: 30.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.00603, allocations: 115.3 kB / 454.8 MB, free: 30.02 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.006034, allocations: 2.625 kB / 454.8 MB, free: 30.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000362/0.006396, allocations: 167.9 kB / 455 MB, free: 29.94 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.006413, allocations: 10.81 kB / 455 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.006422, allocations: 7.938 kB / 455 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.006793, allocations: 59.62 kB / 455 MB, free: 29.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.006913, allocations: 30.78 kB / 455.1 MB, free: 29.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.008033, allocations: 1.83 MB / 456.9 MB, free: 28.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.008099, allocations: 21.98 kB / 456.9 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.008117, allocations: 5.625 kB / 456.9 MB, free: 28.11 MB / 410.8 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.936e-05/0.008186, allocations: 163.4 kB / 457.1 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.008209, allocations: 17.61 kB / 457.1 MB, free: 27.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.008252, allocations: 12.12 kB / 457.1 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008253, allocations: 0 / 457.1 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008257, allocations: 2.906 kB / 457.1 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008262, allocations: 3.422 kB / 457.1 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.008372, allocations: 138.8 kB / 457.3 MB, free: 27.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008373, allocations: 4 kB / 457.3 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.008528, allocations: 26.77 kB / 457.3 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.008765, allocations: 59.02 kB / 457.3 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.008783, allocations: 6.203 kB / 457.3 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009533/0.009736, allocations: 1.837 MB / 459.2 MB, free: 25.94 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.009737, allocations: 0 / 459.2 MB, free: 25.94 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.0101, allocations: 216.3 kB / 459.4 MB, free: 25.81 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.01011, allocations: 10.86 kB / 459.4 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01013, allocations: 10.19 kB / 459.4 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.01018, allocations: 7.938 kB / 459.4 MB, free: 25.79 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.01022, allocations: 13.34 kB / 459.4 MB, free: 25.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.01023, allocations: 2.844 kB / 459.4 MB, free: 25.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.01026, allocations: 126.1 kB / 459.6 MB, free: 25.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01026, allocations: 0 / 459.6 MB, free: 25.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002216/0.01048, allocations: 29.44 kB / 459.6 MB, free: 25.66 MB / 410.8 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 9.599e-05/0.01057, allocations: 100.9 kB / 459.7 MB, free: 25.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.01102, allocations: 279.8 kB / 460 MB, free: 25.37 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01102, allocations: 0 / 460 MB, free: 25.37 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.01126, allocations: 237.1 kB / 460.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.01144, allocations: 12.84 kB / 460.2 MB, free: 25.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.01204, allocations: 490 kB / 460.7 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01209, allocations: 82.22 kB / 460.8 MB, free: 24.72 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.01214, allocations: 21.5 kB / 460.8 MB, free: 24.72 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.01217, allocations: 13.78 kB / 460.8 MB, free: 24.71 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01217, allocations: 0 / 460.8 MB, free: 24.71 MB / 410.8 MB Notification: Performance of Templates: time 0.004456/0.01663, allocations: 1.41 MB / 462.2 MB, free: 24.59 MB / 410.8 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_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.170010271947831]