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.001537/0.001537, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00173/0.00173, allocations: 161.7 kB / 24.27 MB, free: 172 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.499/1.499, allocations: 177.1 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 1.095/1.095, allocations: 88.08 MB / 349.1 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.042e-05, allocations: 2.859 kB / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002021/0.002051, allocations: 1.217 MB / 452 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.002265, allocations: 42.02 kB / 452.1 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.002302, allocations: 4 kB / 452.1 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.00241, allocations: 6.844 kB / 452.1 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.00248, allocations: 3.375 kB / 452.1 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.002678, allocations: 27.77 kB / 452.1 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.002851, allocations: 117 kB / 452.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.002891, allocations: 0 / 452.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.002969, allocations: 45.08 kB / 452.3 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.003057, allocations: 39.36 kB / 452.3 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.003081, allocations: 2.938 kB / 452.3 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.0031, allocations: 5.719 kB / 452.3 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.003155, allocations: 27.31 kB / 452.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.003207, allocations: 30.25 kB / 452.4 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.737e-05/0.003305, allocations: 47.58 kB / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003307, allocations: 0 / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003307, allocations: 0 / 452.4 MB, free: 32.13 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.003311, 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.0005561/0.003867, allocations: 324.2 kB / 452.7 MB, free: 31.86 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.003904, allocations: 12.25 kB / 452.7 MB, free: 31.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.003963, allocations: 17.73 kB / 452.8 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004098, allocations: 127.8 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.004111, allocations: 3.312 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.00415, allocations: 16.97 kB / 452.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.004313, allocations: 83.3 kB / 453 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.004327, allocations: 4.188 kB / 453 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.004342, allocations: 7.422 kB / 453 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.004349, allocations: 3.312 kB / 453 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.004434, allocations: 47.72 kB / 453 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.004629, allocations: 148.8 kB / 453.2 MB, free: 31.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.004999, allocations: 141.5 kB / 453.3 MB, free: 31.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.005068, allocations: 45.2 kB / 453.4 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.005086, allocations: 4 kB / 453.4 MB, free: 31.42 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.005101, allocations: 33.44 kB / 453.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.005102, allocations: 336 / 453.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0006805/0.005782, allocations: 236.7 kB / 453.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.005809, allocations: 54.22 kB / 453.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.005865, allocations: 102.8 kB / 453.8 MB, free: 31.13 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.005878, allocations: 25.7 kB / 453.8 MB, free: 31.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.005901, allocations: 84.14 kB / 453.9 MB, free: 31.01 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.005947, allocations: 48.69 kB / 453.9 MB, free: 30.97 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.005994, allocations: 39.53 kB / 454 MB, free: 30.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.00605, allocations: 325 kB / 454.3 MB, free: 30.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.00612, allocations: 55 kB / 454.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.006203, allocations: 91.34 kB / 454.4 MB, free: 30.55 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.006369, allocations: 148.3 kB / 454.6 MB, free: 30.47 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.006372, allocations: 0 / 454.6 MB, free: 30.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004052/0.006777, allocations: 234 kB / 454.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.006792, allocations: 5.719 kB / 454.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.0068, allocations: 2.906 kB / 454.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.007152, allocations: 65.17 kB / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.007267, allocations: 40.11 kB / 454.9 MB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.00838, allocations: 1.451 MB / 456.4 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.008446, allocations: 17.09 kB / 456.4 MB, free: 29.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.008456, allocations: 2.938 kB / 456.4 MB, free: 29.06 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 7.878e-05/0.008535, allocations: 131.8 kB / 456.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.008568, allocations: 17.11 kB / 456.5 MB, free: 28.92 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.008607, allocations: 16.12 kB / 456.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.008608, allocations: 6.812 kB / 456.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.008613, allocations: 0 / 456.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.008616, allocations: 0 / 456.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.008737, allocations: 148.6 kB / 456.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008738, allocations: 0 / 456.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.00889, allocations: 26.59 kB / 456.7 MB, free: 28.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.00914, allocations: 65.16 kB / 456.8 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.009158, allocations: 5.875 kB / 456.8 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.01018, allocations: 1.458 MB / 458.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01018, allocations: 0 / 458.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.01061, allocations: 265 kB / 458.5 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.01062, allocations: 6.938 kB / 458.5 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01063, allocations: 6.812 kB / 458.5 MB, free: 27.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.01069, allocations: 10.88 kB / 458.5 MB, free: 27.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.01072, allocations: 17.66 kB / 458.6 MB, free: 27.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01073, allocations: 3.062 kB / 458.6 MB, free: 27.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.01075, allocations: 78.28 kB / 458.6 MB, free: 27.23 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 0 / 458.6 MB, free: 27.23 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002273/0.01097, allocations: 31.38 kB / 458.7 MB, free: 27.23 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.87e-05/0.01107, allocations: 101 kB / 458.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.01152, allocations: 252.4 kB / 459 MB, free: 26.99 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01153, allocations: 4.062 kB / 459 MB, free: 26.99 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.01175, allocations: 188.7 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.0001827/0.01193, allocations: 12.28 kB / 459.2 MB, free: 26.85 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01256, allocations: 0.4997 MB / 459.7 MB, free: 26.48 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.01262, allocations: 93.17 kB / 459.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.01267, allocations: 21.83 kB / 459.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.01271, allocations: 14.12 kB / 459.8 MB, free: 26.39 MB / 410.8 MB Notification: Performance of SimCode: time 3.81e-07/0.01271, allocations: 0 / 459.8 MB, free: 26.39 MB / 410.8 MB Notification: Performance of Templates: time 0.004178/0.01689, allocations: 1.398 MB / 461.2 MB, free: 26.29 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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.832268298021518]