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.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.0009797/0.0009797, allocations: 76.41 kB / 21.42 MB, free: 3.074 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.00119/0.00119, allocations: 168.3 kB / 24.82 MB, free: 9.27 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.9978/0.9978, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.7117/0.7117, allocations: 88.07 MB / 349.9 MB, free: 14.14 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 452 MB, free: 33.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.683e-05, allocations: 2.312 kB / 452 MB, free: 33.14 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001993/0.00201, allocations: 1.253 MB / 453.3 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.002256, allocations: 41.28 kB / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.0023, allocations: 0 / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.002401, allocations: 0 / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.002505, allocations: 10.12 kB / 453.3 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.002731, allocations: 27.11 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.002849, allocations: 113.7 kB / 453.5 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.002885, allocations: 4 kB / 453.5 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.002944, allocations: 47.12 kB / 453.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.003009, allocations: 36.38 kB / 453.5 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.00303, allocations: 5.719 kB / 453.6 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.003046, allocations: 5.75 kB / 453.6 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.003087, allocations: 23.44 kB / 453.6 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.00312, allocations: 30.33 kB / 453.6 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.795e-05/0.003198, allocations: 43.62 kB / 453.7 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.0032, allocations: 0 / 453.7 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.003202, allocations: 3.375 kB / 453.7 MB, free: 32.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003205, allocations: 0 / 453.7 MB, free: 32.16 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.0003486/0.003554, allocations: 411.9 kB / 454.1 MB, free: 31.78 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.00359, allocations: 8.094 kB / 454.1 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.003621, allocations: 10.55 kB / 454.1 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.00371, allocations: 133.2 kB / 454.2 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.00372, allocations: 7.156 kB / 454.2 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.003741, allocations: 12.69 kB / 454.2 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.003822, allocations: 62.56 kB / 454.3 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.003831, allocations: 192 / 454.3 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.003839, allocations: 384 / 454.3 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.003845, allocations: 3.312 kB / 454.3 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.003879, allocations: 22 kB / 454.3 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.004014, allocations: 127.8 kB / 454.4 MB, free: 31.45 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.004231, allocations: 108.7 kB / 454.5 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.004259, allocations: 26.5 kB / 454.6 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.00427, allocations: 6.906 kB / 454.6 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.004287, allocations: 37.39 kB / 454.6 MB, free: 31.33 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.004288, allocations: 0 / 454.6 MB, free: 31.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.000367/0.004655, allocations: 155.2 kB / 454.8 MB, free: 31.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.004674, allocations: 51.41 kB / 454.8 MB, free: 31.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.004717, allocations: 166.9 kB / 455 MB, free: 31.03 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.004726, allocations: 29.7 kB / 455 MB, free: 31 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.00475, allocations: 133.8 kB / 455.1 MB, free: 30.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.004796, allocations: 55.8 kB / 455.2 MB, free: 30.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.004836, allocations: 45.61 kB / 455.2 MB, free: 30.78 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.004901, allocations: 0.4944 MB / 455.7 MB, free: 30.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.004925, allocations: 21.61 kB / 455.8 MB, free: 30.28 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.004968, allocations: 69.33 kB / 455.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.005052, allocations: 114.5 kB / 455.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005054, allocations: 0 / 455.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001835/0.005238, allocations: 154.2 kB / 456.1 MB, free: 30.05 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.00525, allocations: 8.984 kB / 456.1 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005255, allocations: 3.984 kB / 456.1 MB, free: 30.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.005435, allocations: 51.2 kB / 456.1 MB, free: 30.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.005507, allocations: 39.84 kB / 456.2 MB, free: 30.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006574/0.006164, allocations: 1.786 MB / 458 MB, free: 28.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.006197, allocations: 14.86 kB / 458 MB, free: 28.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006202, allocations: 2.875 kB / 458 MB, free: 28.25 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 4.977e-05/0.006252, allocations: 166.4 kB / 458.1 MB, free: 28.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.006269, allocations: 14.91 kB / 458.2 MB, free: 28.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.006291, allocations: 22.22 kB / 458.2 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.006292, allocations: 0 / 458.2 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.006296, allocations: 0 / 458.2 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.006299, allocations: 10.97 kB / 458.2 MB, free: 28.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.345e-05/0.006372, allocations: 116.5 kB / 458.3 MB, free: 27.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006374, allocations: 0 / 458.3 MB, free: 27.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.006468, allocations: 31.09 kB / 458.3 MB, free: 27.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/0.006611, allocations: 55.67 kB / 458.4 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.006625, allocations: 3 kB / 458.4 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.007234, allocations: 1.804 MB / 460.2 MB, free: 26.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007235, allocations: 0 / 460.2 MB, free: 26.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.007458, allocations: 199.6 kB / 460.4 MB, free: 26.01 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.007465, allocations: 10.64 kB / 460.4 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.007476, allocations: 4.141 kB / 460.4 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.007497, allocations: 2.188 kB / 460.4 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.007521, allocations: 13.61 kB / 460.4 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.007528, allocations: 10.75 kB / 460.4 MB, free: 25.99 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.954e-05/0.007547, allocations: 125.4 kB / 460.6 MB, free: 25.87 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.007547, allocations: 0 / 460.6 MB, free: 25.87 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001642/0.007712, allocations: 28.47 kB / 460.6 MB, free: 25.87 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 7.925e-05/0.007791, allocations: 99.38 kB / 460.7 MB, free: 25.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.008066, allocations: 271.7 kB / 460.9 MB, free: 25.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008068, allocations: 0 / 460.9 MB, free: 25.57 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.008183, allocations: 227.8 kB / 461.2 MB, free: 25.38 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.008328, allocations: 6.812 kB / 461.2 MB, free: 25.38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.008778, allocations: 485.2 kB / 461.7 MB, free: 25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.008809, allocations: 68.75 kB / 461.7 MB, free: 24.93 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.00883, allocations: 7.188 kB / 461.7 MB, free: 24.93 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.008871, allocations: 76.77 kB / 461.8 MB, free: 24.87 MB / 410.8 MB Notification: Performance of SimCode: time 9.52e-07/0.008872, allocations: 0 / 461.8 MB, free: 24.87 MB / 410.8 MB Notification: Performance of Templates: time 0.002878/0.01175, allocations: 1.462 MB / 463.3 MB, free: 24.75 MB / 410.8 MB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.658900333568454]