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.0009518/0.0009518, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008837/0.0008837, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.904/0.904, allocations: 177.1 MB / 205.3 MB, free: 5.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.5762/0.5762, allocations: 88.09 MB / 349.9 MB, free: 14.15 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.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 398.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.355e-05, allocations: 2.312 kB / 398.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001412/0.001425, allocations: 1.264 MB / 400 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.001577, allocations: 40 kB / 400.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.001605, allocations: 4 kB / 400.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7e-05/0.001675, allocations: 3.938 kB / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.00174, allocations: 15.91 kB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.001889, allocations: 23.95 kB / 400.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.002015, allocations: 107.8 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.002052, allocations: 4 kB / 400.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.002114, allocations: 47.94 kB / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.002172, allocations: 35.88 kB / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.002193, allocations: 4 kB / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.002206, allocations: 4 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.002249, allocations: 27.97 kB / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.002282, allocations: 27.91 kB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.511e-05/0.002357, allocations: 51.8 kB / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002359, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002359, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.002363, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 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.0003156/0.002678, allocations: 289.5 kB / 400.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.002706, allocations: 8.031 kB / 400.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.002734, allocations: 20.86 kB / 400.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.86e-05/0.002822, allocations: 117.8 kB / 400.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.00283, allocations: 4.375 kB / 400.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.002852, allocations: 12.38 kB / 400.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.002922, allocations: 54.22 kB / 400.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.002931, allocations: 8.078 kB / 400.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.002941, allocations: 12.38 kB / 400.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.002944, allocations: 384 / 400.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.002974, allocations: 19.92 kB / 401 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.003078, allocations: 91.8 kB / 401 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.003258, allocations: 86.53 kB / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.003281, allocations: 21.17 kB / 401.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.00329, allocations: 4 kB / 401.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.003308, allocations: 38.5 kB / 401.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 6.81e-07/0.003309, allocations: 0 / 401.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002838/0.003593, allocations: 142.4 kB / 401.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.003623, allocations: 63.34 kB / 401.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.003666, allocations: 102.7 kB / 401.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.003676, allocations: 25.7 kB / 401.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.003695, allocations: 84.14 kB / 401.6 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.003731, allocations: 55.56 kB / 401.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.003766, allocations: 37.69 kB / 401.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.003827, allocations: 322.8 kB / 402 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.003846, allocations: 12 kB / 402 MB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.003884, allocations: 59.14 kB / 402.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.164e-05/0.003956, allocations: 87.92 kB / 402.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003958, allocations: 0 / 402.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001546/0.004112, allocations: 141.2 kB / 402.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.004121, allocations: 4 kB / 402.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004125, allocations: 0 / 402.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.004282, allocations: 55.61 kB / 402.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.004347, allocations: 27.98 kB / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006432/0.00499, allocations: 1.265 MB / 403.7 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.005017, allocations: 7.953 kB / 403.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.005024, allocations: 8 kB / 403.7 MB, free: 8.43 MB / 378.7 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 5.464e-05/0.005079, allocations: 124.6 kB / 403.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.005089, allocations: 7.984 kB / 403.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.005106, allocations: 16.12 kB / 403.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005109, allocations: 7.938 kB / 403.8 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.005111, allocations: 4 kB / 403.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005114, allocations: 3.984 kB / 403.8 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.055e-05/0.005185, allocations: 93.83 kB / 403.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005186, allocations: 0 / 403.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.708e-05/0.005273, allocations: 27.98 kB / 403.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.005383, allocations: 47.58 kB / 404 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.005394, allocations: 11.98 kB / 404 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005483/0.005942, allocations: 1.271 MB / 405.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005943, allocations: 0 / 405.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.006111, allocations: 175.1 kB / 405.4 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.006116, allocations: 7.938 kB / 405.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006127, allocations: 8.125 kB / 405.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.006146, allocations: 8.031 kB / 405.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.006165, allocations: 15.91 kB / 405.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006169, allocations: 0 / 405.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.424e-06/0.006177, allocations: 8.859 kB / 405.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.006177, allocations: 0 / 405.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001261/0.006303, allocations: 32 kB / 405.5 MB, free: 6.41 MB / 378.7 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 6.7e-05/0.00637, allocations: 86.09 kB / 405.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.007765, allocations: 211.3 kB / 405.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.007771, allocations: 0 / 405.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.00793, allocations: 167.4 kB / 406 MB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.99e-05/0.00803, allocations: 14.42 kB / 406 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.008416, allocations: 334.5 kB / 406.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.008459, allocations: 71.95 kB / 406.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.008482, allocations: 0.5 kB / 406.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.008525, allocations: 63.36 kB / 406.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.008526, allocations: 0 / 406.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of Templates: time 0.00282/0.01135, allocations: 1.463 MB / 407.9 MB, free: 3.992 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 2.846870156005025]