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.0009368/0.0009368, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009703/0.0009703, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9125/0.9125, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.7158/0.7158, allocations: 88.08 MB / 349.9 MB, free: 11.82 MB / 330.8 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 398.8 MB, free: 13.4 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.575e-05, allocations: 8.562 kB / 398.8 MB, free: 13.39 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001652/0.001668, allocations: 1.25 MB / 400 MB, free: 12.14 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.001841, allocations: 40 kB / 400.1 MB, free: 12.1 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.001872, allocations: 3.938 kB / 400.1 MB, free: 12.09 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 7.437e-05/0.001947, allocations: 4 kB / 400.1 MB, free: 12.09 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.00201, allocations: 15.91 kB / 400.1 MB, free: 12.07 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.002167, allocations: 23.97 kB / 400.1 MB, free: 12.05 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.002293, allocations: 107.8 kB / 400.2 MB, free: 11.95 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.002327, allocations: 0 / 400.2 MB, free: 11.95 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.002412, allocations: 51.88 kB / 400.3 MB, free: 11.89 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.002507, allocations: 31.94 kB / 400.3 MB, free: 11.86 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.002539, allocations: 4 kB / 400.3 MB, free: 11.86 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.002555, allocations: 4 kB / 400.3 MB, free: 11.86 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.002617, allocations: 31.97 kB / 400.3 MB, free: 11.82 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.002661, allocations: 27.91 kB / 400.4 MB, free: 11.8 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002772, allocations: 51.8 kB / 400.4 MB, free: 11.75 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002774, allocations: 0 / 400.4 MB, free: 11.75 MB / 378.8 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002775, allocations: 0 / 400.4 MB, free: 11.75 MB / 378.8 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.002779, allocations: 0 / 400.4 MB, free: 11.75 MB / 378.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.000423/0.003202, allocations: 296.8 kB / 400.7 MB, free: 11.43 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.003238, allocations: 12.03 kB / 400.7 MB, free: 11.42 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.00327, allocations: 8.938 kB / 400.7 MB, free: 11.41 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003387, allocations: 113.8 kB / 400.8 MB, free: 11.27 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003398, allocations: 8.375 kB / 400.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.003424, allocations: 12.36 kB / 400.9 MB, free: 11.25 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.003513, allocations: 62.16 kB / 400.9 MB, free: 11.19 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.003524, allocations: 4.141 kB / 400.9 MB, free: 11.18 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.003533, allocations: 4.375 kB / 400.9 MB, free: 11.18 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003537, allocations: 384 / 400.9 MB, free: 11.18 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.003572, allocations: 23.92 kB / 401 MB, free: 11.16 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.003702, allocations: 87.81 kB / 401 MB, free: 11.05 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.003915, allocations: 90.58 kB / 401.1 MB, free: 10.96 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.003944, allocations: 24.84 kB / 401.2 MB, free: 10.93 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.003953, allocations: 0 / 401.2 MB, free: 10.93 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.003977, allocations: 38.5 kB / 401.2 MB, free: 10.88 MB / 378.8 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.003978, allocations: 0 / 401.2 MB, free: 10.88 MB / 378.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003483/0.004326, allocations: 145.2 kB / 401.3 MB, free: 10.73 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.004363, allocations: 51.41 kB / 401.4 MB, free: 10.67 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.00442, allocations: 106.7 kB / 401.5 MB, free: 10.55 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.00444, allocations: 29.7 kB / 401.5 MB, free: 10.52 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.004467, allocations: 88.12 kB / 401.6 MB, free: 10.43 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.004515, allocations: 47.58 kB / 401.7 MB, free: 10.38 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.004557, allocations: 37.69 kB / 401.7 MB, free: 10.34 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.004648, allocations: 323 kB / 402 MB, free: 10.01 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.00467, allocations: 16 kB / 402 MB, free: 9.996 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.004717, allocations: 56.2 kB / 402.1 MB, free: 9.926 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.004807, allocations: 87.39 kB / 402.2 MB, free: 9.824 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004809, allocations: 0 / 402.2 MB, free: 9.824 MB / 378.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002036/0.005013, allocations: 141.1 kB / 402.3 MB, free: 9.676 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.005028, allocations: 8 kB / 402.3 MB, free: 9.668 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005034, allocations: 0 / 402.3 MB, free: 9.668 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.005223, allocations: 47.64 kB / 402.4 MB, free: 9.617 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.005319, allocations: 36.02 kB / 402.4 MB, free: 9.582 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008475/0.006166, allocations: 1.264 MB / 403.7 MB, free: 8.215 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.006203, allocations: 7.953 kB / 403.7 MB, free: 8.207 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.00621, allocations: 4 kB / 403.7 MB, free: 8.203 MB / 378.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.567e-05/0.006285, allocations: 128.6 kB / 403.8 MB, free: 8.066 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.006297, allocations: 8 kB / 403.8 MB, free: 8.059 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.006322, allocations: 16.12 kB / 403.8 MB, free: 8.043 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006325, allocations: 7.938 kB / 403.8 MB, free: 8.035 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006328, allocations: 0 / 403.8 MB, free: 8.035 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.006333, allocations: 4.266 kB / 403.8 MB, free: 8.031 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.006423, allocations: 101.8 kB / 403.9 MB, free: 7.914 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006424, allocations: 0 / 403.9 MB, free: 7.914 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.006517, allocations: 23.98 kB / 403.9 MB, free: 7.891 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.006654, allocations: 55.62 kB / 404 MB, free: 7.832 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.006667, allocations: 4 kB / 404 MB, free: 7.828 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00068/0.007347, allocations: 1.267 MB / 405.3 MB, free: 6.461 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007348, allocations: 0 / 405.3 MB, free: 6.461 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.007534, allocations: 178.2 kB / 405.4 MB, free: 6.262 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.007539, allocations: 3.938 kB / 405.5 MB, free: 6.258 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007549, allocations: 11.94 kB / 405.5 MB, free: 6.246 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.00757, allocations: 32 / 405.5 MB, free: 6.246 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.00759, allocations: 19.97 kB / 405.5 MB, free: 6.227 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.007595, allocations: 4 kB / 405.5 MB, free: 6.223 MB / 378.8 MB Notification: Performance of sorting global known variables: time 8.646e-06/0.007604, allocations: 8.797 kB / 405.5 MB, free: 6.211 MB / 378.8 MB Notification: Performance of sort global known variables: time 3e-08/0.007604, allocations: 0 / 405.5 MB, free: 6.211 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0001301/0.007734, allocations: 28 kB / 405.5 MB, free: 6.184 MB / 378.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.766e-05/0.007812, allocations: 88.62 kB / 405.6 MB, free: 6.09 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.00805, allocations: 203.3 kB / 405.8 MB, free: 5.875 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008052, allocations: 4 kB / 405.8 MB, free: 5.871 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.008165, allocations: 167.4 kB / 406 MB, free: 5.691 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.18e-05/0.008247, allocations: 4 kB / 406 MB, free: 5.688 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.008578, allocations: 339.5 kB / 406.3 MB, free: 5.328 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.008611, allocations: 71.33 kB / 406.4 MB, free: 5.238 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 1.82e-05/0.008629, allocations: 4.5 kB / 406.4 MB, free: 5.234 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.008669, allocations: 55.38 kB / 406.4 MB, free: 5.18 MB / 378.8 MB Notification: Performance of SimCode: time 5.31e-07/0.008669, allocations: 3.938 kB / 406.4 MB, free: 5.176 MB / 378.8 MB Notification: Performance of Templates: time 0.00279/0.01146, allocations: 1.471 MB / 407.9 MB, free: 3.754 MB / 378.8 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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.517530145123601]