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.001859/0.001859, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.001977/0.001977, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.176 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 1.029/1.029, allocations: 88.07 MB / 348.7 MB, free: 1.812 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.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 / 0.5235 GB, free: 8.328 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.445e-05/3.618e-05, allocations: 2.281 kB / 0.5235 GB, free: 8.324 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001964/0.002, allocations: 1.219 MB / 0.5247 GB, free: 7.359 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.002197, allocations: 36 kB / 0.5247 GB, free: 7.336 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.002234, allocations: 0 / 0.5247 GB, free: 7.336 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.002331, allocations: 7.922 kB / 0.5247 GB, free: 7.328 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.002403, allocations: 22.86 kB / 0.5247 GB, free: 7.309 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.00258, allocations: 19.95 kB / 0.5247 GB, free: 7.293 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.002749, allocations: 103.3 kB / 0.5248 GB, free: 7.242 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.002808, allocations: 6.203 kB / 0.5248 GB, free: 7.238 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.002889, allocations: 47.8 kB / 0.5249 GB, free: 7.215 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.00298, allocations: 35.94 kB / 0.5249 GB, free: 7.191 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.003006, allocations: 5.469 kB / 0.5249 GB, free: 7.191 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.003027, allocations: 3.969 kB / 0.5249 GB, free: 7.191 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.003086, allocations: 25.86 kB / 0.525 GB, free: 7.176 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.003155, allocations: 26.67 kB / 0.525 GB, free: 7.16 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.003258, allocations: 54.8 kB / 0.525 GB, free: 7.129 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.003261, allocations: 0 / 0.525 GB, free: 7.129 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.213e-06/0.003262, allocations: 0 / 0.525 GB, free: 7.129 MB / 446.2 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.003268, allocations: 5.219 kB / 0.525 GB, free: 7.125 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005988/0.003866, allocations: 337.2 kB / 0.5254 GB, free: 6.812 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.003908, allocations: 9 kB / 0.5254 GB, free: 6.812 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.00395, allocations: 4.469 kB / 0.5254 GB, free: 6.812 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004093, allocations: 123.9 kB / 0.5255 GB, free: 6.676 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004108, allocations: 4.656 kB / 0.5255 GB, free: 6.676 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.004143, allocations: 9.469 kB / 0.5255 GB, free: 6.672 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.004315, allocations: 94.58 kB / 0.5256 GB, free: 6.602 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.00433, allocations: 1.406 kB / 0.5256 GB, free: 6.602 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.004343, allocations: 1.938 kB / 0.5256 GB, free: 6.602 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00435, allocations: 2.156 kB / 0.5256 GB, free: 6.602 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.237e-05/0.004442, allocations: 50.62 kB / 0.5256 GB, free: 6.574 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.004652, allocations: 154.3 kB / 0.5258 GB, free: 6.422 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.005054, allocations: 125.5 kB / 0.5259 GB, free: 6.359 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.005138, allocations: 51.89 kB / 0.526 GB, free: 6.328 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.005153, allocations: 2.172 kB / 0.526 GB, free: 6.328 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.005175, allocations: 36.34 kB / 0.526 GB, free: 6.285 MB / 446.2 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.005176, allocations: 0 / 0.526 GB, free: 6.285 MB / 446.2 MB Notification: Performance of matching and sorting (n=12): time 0.0007708/0.005947, allocations: 226.9 kB / 0.5262 GB, free: 6.16 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.005976, allocations: 53.25 kB / 0.5263 GB, free: 6.098 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.185e-05/0.006028, allocations: 98.48 kB / 0.5264 GB, free: 5.996 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.006043, allocations: 30.61 kB / 0.5264 GB, free: 5.961 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.006064, allocations: 85.06 kB / 0.5265 GB, free: 5.875 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.00611, allocations: 57.98 kB / 0.5265 GB, free: 5.824 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.006163, allocations: 35.53 kB / 0.5266 GB, free: 5.797 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.006219, allocations: 326.5 kB / 0.5269 GB, free: 5.473 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.006303, allocations: 52.53 kB / 0.5269 GB, free: 5.449 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.006414, allocations: 99.08 kB / 0.527 GB, free: 5.375 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.006623, allocations: 143.5 kB / 0.5272 GB, free: 5.285 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006625, allocations: 0.9375 kB / 0.5272 GB, free: 5.285 MB / 446.2 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004577/0.007082, allocations: 228.8 kB / 0.5274 GB, free: 5.156 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.007101, allocations: 5.531 kB / 0.5274 GB, free: 5.156 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.007109, allocations: 0.9062 kB / 0.5274 GB, free: 5.156 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.007447, allocations: 57.08 kB / 0.5274 GB, free: 5.129 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.007576, allocations: 39.61 kB / 0.5275 GB, free: 5.117 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.008765, allocations: 1.456 MB / 0.5289 GB, free: 3.75 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.008836, allocations: 15.98 kB / 0.5289 GB, free: 3.738 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.008849, allocations: 7.625 kB / 0.5289 GB, free: 3.734 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 (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.381e-05/0.008923, allocations: 125.4 kB / 0.529 GB, free: 3.609 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.008941, allocations: 10.11 kB / 0.529 GB, free: 3.602 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.008978, allocations: 21.72 kB / 0.5291 GB, free: 3.586 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.00898, allocations: 1.531 kB / 0.5291 GB, free: 3.586 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008984, allocations: 0 / 0.5291 GB, free: 3.586 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008988, allocations: 5.281 kB / 0.5291 GB, free: 3.582 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.009106, allocations: 153.1 kB / 0.5292 GB, free: 3.43 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009107, allocations: 0 / 0.5292 GB, free: 3.43 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.009268, allocations: 26.48 kB / 0.5292 GB, free: 3.426 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.009511, allocations: 63.45 kB / 0.5293 GB, free: 3.391 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.009528, allocations: 7.219 kB / 0.5293 GB, free: 3.387 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.01058, allocations: 1.447 MB / 0.5307 GB, free: 2.027 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01058, allocations: 3.984 kB / 0.5307 GB, free: 2.023 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.01105, allocations: 266.1 kB / 0.531 GB, free: 1.852 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.01105, allocations: 6.484 kB / 0.531 GB, free: 1.848 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01108, allocations: 10.44 kB / 0.531 GB, free: 1.84 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.01113, allocations: 1.281 kB / 0.531 GB, free: 1.84 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.01116, allocations: 15.75 kB / 0.531 GB, free: 1.828 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01117, allocations: 6.531 kB / 0.531 GB, free: 1.824 MB / 446.2 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.0112, allocations: 77.81 kB / 0.5311 GB, free: 1.75 MB / 446.2 MB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 0.5311 GB, free: 1.75 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.000253/0.01145, allocations: 27.97 kB / 0.5311 GB, free: 1.746 MB / 446.2 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 0.0001227/0.01157, allocations: 103.7 kB / 0.5312 GB, free: 1.652 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.01207, allocations: 251.7 kB / 0.5315 GB, free: 1.48 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01207, allocations: 1.219 kB / 0.5315 GB, free: 1.48 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.01232, allocations: 190.3 kB / 0.5316 GB, free: 1.332 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01252, allocations: 6.438 kB / 0.5316 GB, free: 1.328 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.01319, allocations: 0.4918 MB / 0.5321 GB, free: 0.9258 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.742e-05/0.01326, allocations: 86.06 kB / 0.5322 GB, free: 0.8438 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 5.637e-05/0.01332, allocations: 23.59 kB / 0.5322 GB, free: 0.832 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.01335, allocations: 13.56 kB / 0.5322 GB, free: 0.8242 MB / 446.2 MB Notification: Performance of SimCode: time 6.01e-07/0.01335, allocations: 0 / 0.5322 GB, free: 0.8242 MB / 446.2 MB Notification: Performance of Templates: time 0.004597/0.01795, allocations: 1.387 MB / 0.5336 GB, free: 64 kB / 446.2 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: 6.112834814935923]