Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.001976/0.001976, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002253/0.002253, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.9504/0.9504, allocations: 88.06 MB / 348.7 MB, free: 1.82 MB / 318.1 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5235 GB, free: 8.332 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.133e-05, allocations: 3.656 kB / 0.5235 GB, free: 8.328 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002036/0.002067, allocations: 1.213 MB / 0.5246 GB, free: 7.367 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0002042/0.002271, allocations: 29.86 kB / 0.5247 GB, free: 7.348 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.002312, allocations: 3.938 kB / 0.5247 GB, free: 7.344 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 8.811e-05/0.0024, allocations: 0 / 0.5247 GB, free: 7.344 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.002468, allocations: 10.67 kB / 0.5247 GB, free: 7.336 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.00264, allocations: 20.02 kB / 0.5247 GB, free: 7.32 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.002784, allocations: 67.2 kB / 0.5248 GB, free: 7.289 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.00284, allocations: 9.188 kB / 0.5248 GB, free: 7.281 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.002906, allocations: 36.77 kB / 0.5248 GB, free: 7.262 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.002977, allocations: 30.89 kB / 0.5248 GB, free: 7.242 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.003009, allocations: 2.312 kB / 0.5248 GB, free: 7.242 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.003025, allocations: 3.594 kB / 0.5248 GB, free: 7.242 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.003071, allocations: 14.92 kB / 0.5249 GB, free: 7.234 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.00311, allocations: 24.38 kB / 0.5249 GB, free: 7.219 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 8.176e-05/0.003192, allocations: 35.45 kB / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.003196, allocations: 0 / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003197, allocations: 0 / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.003208, allocations: 2 kB / 0.5249 GB, free: 7.199 MB / 446.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004841/0.003692, allocations: 290.9 kB / 0.5252 GB, free: 6.914 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.003731, allocations: 9 kB / 0.5252 GB, free: 6.914 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.003766, allocations: 8.75 kB / 0.5252 GB, free: 6.91 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.003898, allocations: 117.5 kB / 0.5253 GB, free: 6.777 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.003913, allocations: 14.98 kB / 0.5253 GB, free: 6.766 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.003946, allocations: 21.56 kB / 0.5254 GB, free: 6.75 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.004087, allocations: 65.44 kB / 0.5254 GB, free: 6.699 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.004101, allocations: 1.438 kB / 0.5254 GB, free: 6.699 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.004112, allocations: 1.75 kB / 0.5254 GB, free: 6.699 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004117, allocations: 4.375 kB / 0.5254 GB, free: 6.695 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.004187, allocations: 40.69 kB / 0.5255 GB, free: 6.672 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.004336, allocations: 121.1 kB / 0.5256 GB, free: 6.539 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.004462, allocations: 73.44 kB / 0.5257 GB, free: 6.488 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.004527, allocations: 36.11 kB / 0.5257 GB, free: 6.465 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.004542, allocations: 1.406 kB / 0.5257 GB, free: 6.465 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.004559, allocations: 39.67 kB / 0.5257 GB, free: 6.418 MB / 446.2 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.00456, allocations: 0 / 0.5257 GB, free: 6.418 MB / 446.2 MB Notification: Performance of matching and sorting (n=8): time 0.000246/0.004806, allocations: 119.7 kB / 0.5258 GB, free: 6.344 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.004828, allocations: 56.75 kB / 0.5259 GB, free: 6.277 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.004877, allocations: 102.3 kB / 0.526 GB, free: 6.172 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.004889, allocations: 30.64 kB / 0.526 GB, free: 6.137 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.004907, allocations: 81.05 kB / 0.5261 GB, free: 6.055 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.004943, allocations: 40.28 kB / 0.5261 GB, free: 6.02 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.004989, allocations: 29.72 kB / 0.5262 GB, free: 5.996 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.005035, allocations: 321.6 kB / 0.5265 GB, free: 5.676 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.005098, allocations: 37.19 kB / 0.5265 GB, free: 5.66 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.005177, allocations: 71.72 kB / 0.5266 GB, free: 5.602 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.005322, allocations: 122 kB / 0.5267 GB, free: 5.516 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.005325, allocations: 0.9375 kB / 0.5267 GB, free: 5.516 MB / 446.2 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002034/0.005529, allocations: 140.8 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.005545, allocations: 5.562 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.00555, allocations: 0.9062 kB / 0.5268 GB, free: 5.438 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.005567, allocations: 5.828 kB / 0.5268 GB, free: 5.434 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.005745, allocations: 39.61 kB / 0.5269 GB, free: 5.422 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.005753, allocations: 5.781 kB / 0.5269 GB, free: 5.418 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.0058, allocations: 11.75 kB / 0.5269 GB, free: 5.41 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.00581, allocations: 8.531 kB / 0.5269 GB, free: 5.406 MB / 446.2 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.005865, allocations: 114.5 kB / 0.527 GB, free: 5.289 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.005878, allocations: 6.734 kB / 0.527 GB, free: 5.285 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.005914, allocations: 17.02 kB / 0.527 GB, free: 5.27 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005916, allocations: 0.9375 kB / 0.527 GB, free: 5.27 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.005923, allocations: 3.938 kB / 0.527 GB, free: 5.266 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005926, allocations: 4.844 kB / 0.527 GB, free: 5.262 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.006016, allocations: 125 kB / 0.5272 GB, free: 5.125 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006017, allocations: 0 / 0.5272 GB, free: 5.125 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.006205, allocations: 30.14 kB / 0.5272 GB, free: 5.117 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006207, allocations: 0.9062 kB / 0.5272 GB, free: 5.117 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.006223, allocations: 10.7 kB / 0.5272 GB, free: 5.109 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006225, allocations: 4.906 kB / 0.5272 GB, free: 5.105 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.006227, allocations: 0.9062 kB / 0.5272 GB, free: 5.105 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.006451, allocations: 142.2 kB / 0.5273 GB, free: 5.004 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.006461, allocations: 9.734 kB / 0.5274 GB, free: 4.996 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.006483, allocations: 11.67 kB / 0.5274 GB, free: 4.988 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.006523, allocations: 0.9375 kB / 0.5274 GB, free: 4.988 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.006555, allocations: 14.61 kB / 0.5274 GB, free: 4.977 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.006562, allocations: 1.844 kB / 0.5274 GB, free: 4.977 MB / 446.2 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.006584, allocations: 86.06 kB / 0.5275 GB, free: 4.895 MB / 446.2 MB Notification: Performance of sort global known variables: time 6e-08/0.006584, allocations: 0 / 0.5275 GB, free: 4.895 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.00021/0.006794, allocations: 13.81 kB / 0.5275 GB, free: 4.895 MB / 446.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.006896, allocations: 98.03 kB / 0.5276 GB, free: 4.805 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.007085, allocations: 89.72 kB / 0.5277 GB, free: 4.766 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.007088, allocations: 0 / 0.5277 GB, free: 4.766 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.007141, allocations: 33.02 kB / 0.5277 GB, free: 4.754 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.007331, allocations: 15.73 kB / 0.5277 GB, free: 4.75 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.007976, allocations: 464.8 kB / 0.5281 GB, free: 4.359 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.008032, allocations: 77.11 kB / 0.5282 GB, free: 4.281 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.008096, allocations: 24.39 kB / 0.5282 GB, free: 4.27 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.008129, allocations: 17.12 kB / 0.5283 GB, free: 4.254 MB / 446.2 MB Notification: Performance of SimCode: time 2.91e-07/0.00813, allocations: 3.938 kB / 0.5283 GB, free: 4.25 MB / 446.2 MB Notification: Performance of Templates: time 0.003369/0.0115, allocations: 0.6464 MB / 0.5289 GB, free: 3.957 MB / 446.2 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.7325973473489285]