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.000673/0.000673, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0006926/0.0006926, allocations: 170 kB / 23.95 MB, free: 0.6133 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.7555/0.7555, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.5448/0.5448, allocations: 88.06 MB / 348.7 MB, free: 14.35 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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.523 GB, free: 4.09 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.871e-05, allocations: 2.281 kB / 0.523 GB, free: 4.086 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001704/0.001733, allocations: 1.214 MB / 0.5242 GB, free: 2.867 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.001916, allocations: 36.5 kB / 0.5242 GB, free: 2.832 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.001948, allocations: 0 / 0.5242 GB, free: 2.832 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.894e-05/0.002027, allocations: 3.938 kB / 0.5242 GB, free: 2.828 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.002087, allocations: 11.98 kB / 0.5242 GB, free: 2.816 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.002249, allocations: 19.95 kB / 0.5242 GB, free: 2.797 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.002367, allocations: 75.8 kB / 0.5243 GB, free: 2.723 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.002404, allocations: 0 / 0.5243 GB, free: 2.723 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.002458, allocations: 31.95 kB / 0.5243 GB, free: 2.691 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.002516, allocations: 27.95 kB / 0.5243 GB, free: 2.664 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.002537, allocations: 0 / 0.5243 GB, free: 2.664 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.002546, allocations: 4 kB / 0.5244 GB, free: 2.66 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.002587, allocations: 19.92 kB / 0.5244 GB, free: 2.641 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.002616, allocations: 19.98 kB / 0.5244 GB, free: 2.621 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.002694, allocations: 35.88 kB / 0.5244 GB, free: 2.586 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.002697, allocations: 4 kB / 0.5244 GB, free: 2.582 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.292e-06/0.002698, allocations: 3.938 kB / 0.5244 GB, free: 2.578 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.002703, allocations: 0 / 0.5244 GB, free: 2.578 MB / 442.8 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.0003974/0.0031, allocations: 298.2 kB / 0.5247 GB, free: 2.254 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.00314, allocations: 8.031 kB / 0.5247 GB, free: 2.246 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.003173, allocations: 34.75 kB / 0.5248 GB, free: 2.203 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.003197, allocations: 12.88 kB / 0.5248 GB, free: 2.191 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.003313, allocations: 121.7 kB / 0.5249 GB, free: 2.047 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003323, allocations: 8.375 kB / 0.5249 GB, free: 2.039 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.003347, allocations: 12.31 kB / 0.5249 GB, free: 2.027 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.003464, allocations: 74.22 kB / 0.525 GB, free: 1.949 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.003474, allocations: 192 / 0.525 GB, free: 1.949 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.003481, allocations: 384 / 0.525 GB, free: 1.949 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.003487, allocations: 8.125 kB / 0.525 GB, free: 1.941 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.00354, allocations: 27.97 kB / 0.525 GB, free: 1.914 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.003696, allocations: 144.8 kB / 0.5251 GB, free: 1.73 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.003801, allocations: 78.47 kB / 0.5252 GB, free: 1.645 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.003836, allocations: 36.84 kB / 0.5253 GB, free: 1.605 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.003846, allocations: 0 / 0.5253 GB, free: 1.605 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.003863, allocations: 30.56 kB / 0.5253 GB, free: 1.566 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.003864, allocations: 0 / 0.5253 GB, free: 1.566 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.004073, allocations: 121.8 kB / 0.5254 GB, free: 1.441 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.004103, allocations: 55.34 kB / 0.5255 GB, free: 1.375 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.004157, allocations: 101.8 kB / 0.5256 GB, free: 1.266 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004169, allocations: 29.7 kB / 0.5256 GB, free: 1.23 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.004198, allocations: 84.14 kB / 0.5257 GB, free: 1.145 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.004234, allocations: 39.69 kB / 0.5257 GB, free: 1.105 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.004271, allocations: 29.72 kB / 0.5257 GB, free: 1.07 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.004348, allocations: 326.8 kB / 0.526 GB, free: 0.7422 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.00439, allocations: 35.97 kB / 0.5261 GB, free: 0.707 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.004453, allocations: 76.2 kB / 0.5261 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.004563, allocations: 116.2 kB / 0.5263 GB, free: 500 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004566, allocations: 0 / 0.5263 GB, free: 500 kB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001405/0.004706, allocations: 149.9 kB / 0.5264 GB, free: 344 kB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.00472, allocations: 4 kB / 0.5264 GB, free: 340 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004725, allocations: 4 kB / 0.5264 GB, free: 336 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.004739, allocations: 3.938 kB / 0.5264 GB, free: 332 kB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.004864, allocations: 35.92 kB / 0.5264 GB, free: 296 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.004874, allocations: 12 kB / 0.5265 GB, free: 284 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.004904, allocations: 8 kB / 0.5265 GB, free: 276 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.004912, allocations: 4 kB / 0.5265 GB, free: 272 kB / 442.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 (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 6.576e-05/0.004978, allocations: 117.8 kB / 0.5266 GB, free: 144 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.004988, allocations: 3.953 kB / 0.5266 GB, free: 140 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.005016, allocations: 24.09 kB / 0.5266 GB, free: 116 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.00502, allocations: 3.938 kB / 0.5266 GB, free: 112 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.005025, allocations: 0 / 0.5266 GB, free: 112 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005028, allocations: 0 / 0.5266 GB, free: 112 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.005147, allocations: 152.7 kB / 0.5268 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005149, allocations: 0 / 0.5268 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.005262, allocations: 27.98 kB / 0.5268 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005263, allocations: 3.938 kB / 0.5268 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.005274, allocations: 4 kB / 0.5268 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.005276, allocations: 3.938 kB / 0.5268 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005278, allocations: 4 kB / 0.5268 GB, free: 15.87 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.005455, allocations: 156.9 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.005464, allocations: 3.953 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.00548, allocations: 7.938 kB / 0.527 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.005499, allocations: 0 / 0.527 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.005516, allocations: 7.984 kB / 0.527 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.00552, allocations: 4 kB / 0.527 GB, free: 15.68 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.005552, allocations: 83.27 kB / 0.5271 GB, free: 15.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005552, allocations: 0 / 0.5271 GB, free: 15.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001478/0.0057, allocations: 20 kB / 0.5271 GB, free: 15.58 MB / 458.8 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.0003082/0.006008, allocations: 0.6748 MB / 0.5277 GB, free: 14.88 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.006139, allocations: 79.89 kB / 0.5278 GB, free: 14.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006141, allocations: 0 / 0.5278 GB, free: 14.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.006173, allocations: 44.06 kB / 0.5278 GB, free: 14.75 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.006314, allocations: 9.25 kB / 0.5279 GB, free: 14.75 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.007615, allocations: 1.809 MB / 0.5296 GB, free: 12.83 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.00794, allocations: 75.58 kB / 0.5297 GB, free: 12.73 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.00799, allocations: 24.7 kB / 0.5297 GB, free: 12.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.008038, allocations: 24.48 kB / 0.5297 GB, free: 12.68 MB / 458.8 MB Notification: Performance of SimCode: time 6.41e-07/0.008039, allocations: 0 / 0.5297 GB, free: 12.68 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02397, allocations: 2.619 MB / 0.5323 GB, free: 10.25 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.114/6.138, allocations: 11.91 kB / 0.5323 GB, free: 10.23 MB / 458.8 MB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 315.0] 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: 8.47446286212653]