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.00177/0.00177, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001802/0.001802, allocations: 161.7 kB / 24.26 MB, free: 176 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.554/1.554, allocations: 177.2 MB / 204.6 MB, free: 5.574 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.8851/0.8851, allocations: 88.08 MB / 349.2 MB, free: 14.22 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.723e-06/1.723e-06, allocations: 0 / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.895e-05, allocations: 7.906 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002059/0.002098, allocations: 1.211 MB / 452 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001879/0.002286, allocations: 45.59 kB / 452.1 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.002322, allocations: 3.062 kB / 452.1 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.002418, allocations: 0 / 452.1 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.002477, allocations: 22.11 kB / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.002664, allocations: 20.67 kB / 452.1 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.002801, allocations: 108.4 kB / 452.2 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.002838, allocations: 0 / 452.2 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.002905, allocations: 50.77 kB / 452.3 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.002984, allocations: 37.06 kB / 452.3 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.003008, allocations: 9.75 kB / 452.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.003025, allocations: 2.969 kB / 452.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.003072, allocations: 19.2 kB / 452.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.003117, allocations: 30.31 kB / 452.4 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.0032, allocations: 46.89 kB / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003203, allocations: 0 / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003204, allocations: 0 / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003208, allocations: 0 / 452.4 MB, free: 32.13 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.0005524/0.003761, allocations: 328.7 kB / 452.7 MB, free: 31.86 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.003797, allocations: 8.656 kB / 452.7 MB, free: 31.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.003852, allocations: 11.86 kB / 452.8 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.003979, allocations: 132.4 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003992, allocations: 11.19 kB / 452.9 MB, free: 31.7 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.004027, allocations: 10.12 kB / 452.9 MB, free: 31.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.004178, allocations: 87.41 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.004193, allocations: 7.594 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.004205, allocations: 3.219 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004209, allocations: 384 / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.004288, allocations: 41.98 kB / 453 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.004477, allocations: 161.3 kB / 453.2 MB, free: 31.49 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.004827, allocations: 133.2 kB / 453.3 MB, free: 31.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.004898, allocations: 44.83 kB / 453.4 MB, free: 31.42 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.004916, allocations: 2.531 kB / 453.4 MB, free: 31.42 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.004931, allocations: 33.45 kB / 453.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.004932, allocations: 4 kB / 453.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0006829/0.005615, allocations: 232.3 kB / 453.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.005637, allocations: 54.31 kB / 453.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.005684, allocations: 99.94 kB / 453.8 MB, free: 31.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.005696, allocations: 28.55 kB / 453.8 MB, free: 31.09 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.005714, allocations: 84.14 kB / 453.9 MB, free: 31.01 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.005757, allocations: 55.69 kB / 454 MB, free: 30.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.005804, allocations: 45.09 kB / 454 MB, free: 30.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.005847, allocations: 313.7 kB / 454.3 MB, free: 30.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.005915, allocations: 51.12 kB / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.005998, allocations: 97.11 kB / 454.4 MB, free: 30.55 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.006154, allocations: 148.6 kB / 454.6 MB, free: 30.47 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006156, allocations: 0 / 454.6 MB, free: 30.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003871/0.006543, allocations: 238.4 kB / 454.8 MB, free: 30.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006555, allocations: 5.656 kB / 454.8 MB, free: 30.37 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006561, allocations: 2.5 kB / 454.8 MB, free: 30.37 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.006892, allocations: 62.83 kB / 454.9 MB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.007005, allocations: 33.31 kB / 454.9 MB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.008075, allocations: 1.464 MB / 456.4 MB, free: 29.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.008145, allocations: 14.77 kB / 456.4 MB, free: 29.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.008155, allocations: 6.875 kB / 456.4 MB, free: 29.05 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.891e-05/0.008224, allocations: 121.1 kB / 456.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.008246, allocations: 21.52 kB / 456.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.008282, allocations: 16.12 kB / 456.6 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008284, allocations: 2.938 kB / 456.6 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.008296, allocations: 0 / 456.6 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008299, allocations: 0 / 456.6 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.00841, allocations: 148.4 kB / 456.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008411, allocations: 0 / 456.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.00857, allocations: 30.52 kB / 456.7 MB, free: 28.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.00882, allocations: 60.78 kB / 456.8 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.008837, allocations: 10.11 kB / 456.8 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000941/0.009778, allocations: 1.464 MB / 458.3 MB, free: 27.45 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009779, allocations: 0 / 458.3 MB, free: 27.45 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.01017, allocations: 258.1 kB / 458.5 MB, free: 27.32 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.01018, allocations: 6.891 kB / 458.5 MB, free: 27.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.01019, allocations: 14.91 kB / 458.6 MB, free: 27.31 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.01026, allocations: 6.906 kB / 458.6 MB, free: 27.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.01029, allocations: 9.469 kB / 458.6 MB, free: 27.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01029, allocations: 2.906 kB / 458.6 MB, free: 27.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.112e-05/0.01031, allocations: 82.12 kB / 458.7 MB, free: 27.23 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01031, allocations: 0 / 458.7 MB, free: 27.23 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002336/0.01055, allocations: 26.75 kB / 458.7 MB, free: 27.22 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.475e-05/0.01064, allocations: 107.8 kB / 458.8 MB, free: 27.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.01107, allocations: 252.4 kB / 459 MB, free: 26.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01107, allocations: 0 / 459 MB, free: 26.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.01131, allocations: 182.1 kB / 459.2 MB, free: 26.86 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.0115, allocations: 10.05 kB / 459.2 MB, free: 26.86 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.01211, allocations: 0.5143 MB / 459.7 MB, free: 26.47 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.01217, allocations: 84.08 kB / 459.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.01223, allocations: 27.86 kB / 459.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01226, allocations: 11.53 kB / 459.9 MB, free: 26.39 MB / 410.8 MB Notification: Performance of SimCode: time 4.61e-07/0.01226, allocations: 0 / 459.9 MB, free: 26.39 MB / 410.8 MB Notification: Performance of Templates: time 0.004054/0.01631, allocations: 1.394 MB / 461.2 MB, free: 26.28 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] 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: 5.645529633038677]