Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.001618/0.001618, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001601/0.001601, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 1.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.27 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.6459/0.6459, allocations: 88.07 MB / 349.6 MB, free: 14.18 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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,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.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,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.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 451.6 MB, free: 33.28 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.921e-05, allocations: 2.312 kB / 451.7 MB, free: 33.27 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001704/0.001733, allocations: 1.265 MB / 452.9 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.001918, allocations: 42.84 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.001952, allocations: 0 / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.964e-05/0.002042, allocations: 7.266 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.002112, allocations: 14.55 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.002295, allocations: 22.67 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.002476, allocations: 233.5 kB / 453.2 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.002518, allocations: 5.766 kB / 453.2 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.002603, allocations: 99.53 kB / 453.3 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.002702, allocations: 76.06 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.002733, allocations: 14.88 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.002757, allocations: 11 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.002827, allocations: 71.89 kB / 453.5 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.00289, allocations: 63.14 kB / 453.6 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003016, allocations: 116.7 kB / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003019, allocations: 0 / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00302, allocations: 0 / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.003026, allocations: 0 / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006101/0.003636, allocations: 0.5545 MB / 454.2 MB, free: 31.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.003677, allocations: 11.62 kB / 454.2 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.00373, allocations: 28.19 kB / 454.3 MB, free: 31.76 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.003873, allocations: 145.9 kB / 454.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.003888, allocations: 16.94 kB / 454.4 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.00393, allocations: 26.67 kB / 454.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.004097, allocations: 120.8 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.004108, allocations: 192 / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.004123, allocations: 7.219 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.004131, allocations: 3.219 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.004226, allocations: 74.53 kB / 454.7 MB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.004427, allocations: 192.6 kB / 454.8 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.004808, allocations: 199.7 kB / 455 MB, free: 31.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.00489, allocations: 63.22 kB / 455.1 MB, free: 31.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.004908, allocations: 10.77 kB / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.004933, allocations: 37.02 kB / 455.1 MB, free: 31.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.004935, allocations: 0 / 455.1 MB, free: 31.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.000926/0.00586, allocations: 413.6 kB / 455.6 MB, free: 31.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.005892, allocations: 54.25 kB / 455.6 MB, free: 31.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.005947, allocations: 162.6 kB / 455.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.005962, allocations: 36.52 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.005983, allocations: 134.3 kB / 455.9 MB, free: 30.67 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.006051, allocations: 139.6 kB / 456.1 MB, free: 30.56 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.006117, allocations: 86.45 kB / 456.2 MB, free: 30.51 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.006172, allocations: 0.5104 MB / 456.7 MB, free: 30 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.006247, allocations: 54.95 kB / 456.7 MB, free: 29.99 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.006365, allocations: 181.6 kB / 456.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.006568, allocations: 255.4 kB / 457.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.006572, allocations: 0 / 457.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004681/0.00704, allocations: 391.5 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.007057, allocations: 8.375 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.007064, allocations: 2.906 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.007481, allocations: 125.1 kB / 457.7 MB, free: 29.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.007639, allocations: 79.41 kB / 457.7 MB, free: 29.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.008929, allocations: 2.145 MB / 459.9 MB, free: 27.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.009001, allocations: 29.5 kB / 459.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.009016, allocations: 19.72 kB / 459.9 MB, free: 27.55 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.009098, allocations: 174.3 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.009126, allocations: 19.2 kB / 460.1 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.009158, allocations: 32.22 kB / 460.1 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009161, allocations: 2.688 kB / 460.2 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.009173, allocations: 6.812 kB / 460.2 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.009177, allocations: 3.281 kB / 460.2 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.00931, allocations: 190.8 kB / 460.3 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.009312, allocations: 0 / 460.3 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.009525, allocations: 73.14 kB / 460.4 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.009844, allocations: 115.5 kB / 460.5 MB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.009871, allocations: 16.34 kB / 460.5 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.0109, allocations: 2.143 MB / 462.7 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.0109, allocations: 0 / 462.7 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.0114, allocations: 439.4 kB / 463.1 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.01141, allocations: 13.58 kB / 463.1 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01143, allocations: 12.67 kB / 463.1 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.01148, allocations: 4 kB / 463.1 MB, free: 25.02 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.01152, allocations: 21.47 kB / 463.2 MB, free: 25.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01153, allocations: 9.281 kB / 463.2 MB, free: 25.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.01155, allocations: 121.8 kB / 463.3 MB, free: 24.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01155, allocations: 0 / 463.3 MB, free: 24.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002236/0.01177, allocations: 77.53 kB / 463.4 MB, free: 24.89 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.01189, allocations: 108.4 kB / 463.5 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.01247, allocations: 457.2 kB / 463.9 MB, free: 24.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01247, allocations: 0 / 463.9 MB, free: 24.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.01276, allocations: 356.2 kB / 464.3 MB, free: 24.32 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01294, allocations: 18.81 kB / 464.3 MB, free: 24.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008915/0.01383, allocations: 1.017 MB / 465.3 MB, free: 23.54 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.01388, allocations: 95.97 kB / 465.4 MB, free: 23.46 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.01395, allocations: 50.78 kB / 465.5 MB, free: 23.46 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.014, allocations: 19.5 kB / 465.5 MB, free: 23.45 MB / 410.8 MB Notification: Performance of SimCode: time 1.233e-06/0.014, allocations: 3.938 kB / 465.5 MB, free: 23.45 MB / 410.8 MB Notification: Performance of Templates: time 0.005093/0.01909, allocations: 2.888 MB / 468.4 MB, free: 23.19 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_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.8993271570652723]