Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001477/0.001477, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009809/0.0009809, allocations: 160.4 kB / 25.61 MB, free: 8.895 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.9298/0.9298, allocations: 177.2 MB / 206.1 MB, free: 4.484 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.7697/0.7697, allocations: 88.09 MB / 350.7 MB, free: 11.74 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.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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 4 kB / 452.9 MB, free: 7.91 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.495e-05, allocations: 2.312 kB / 452.9 MB, free: 7.906 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001649/0.001674, allocations: 1.266 MB / 454.2 MB, free: 6.633 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.001839, allocations: 39.94 kB / 454.2 MB, free: 6.594 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.001871, allocations: 0 / 454.2 MB, free: 6.594 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 7.833e-05/0.001949, allocations: 3.938 kB / 454.2 MB, free: 6.59 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.002015, allocations: 15.91 kB / 454.3 MB, free: 6.574 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002168, allocations: 23.95 kB / 454.3 MB, free: 6.551 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.002356, allocations: 231.6 kB / 454.5 MB, free: 6.324 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.002392, allocations: 8 kB / 454.5 MB, free: 6.316 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.002479, allocations: 103.8 kB / 454.6 MB, free: 6.215 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.002581, allocations: 71.86 kB / 454.7 MB, free: 6.145 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.002608, allocations: 16 kB / 454.7 MB, free: 6.129 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.002627, allocations: 15.94 kB / 454.7 MB, free: 6.113 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.002689, allocations: 67.84 kB / 454.8 MB, free: 6.047 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.002746, allocations: 55.88 kB / 454.8 MB, free: 5.992 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.002857, allocations: 115.6 kB / 454.9 MB, free: 5.879 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.002861, allocations: 4 kB / 455 MB, free: 5.875 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002862, allocations: 0 / 455 MB, free: 5.875 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.002865, allocations: 0 / 455 MB, free: 5.875 MB / 426.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.0005104/0.003376, allocations: 0.5236 MB / 455.5 MB, free: 5.312 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.003404, allocations: 12.03 kB / 455.5 MB, free: 5.301 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.003444, allocations: 20.89 kB / 455.5 MB, free: 5.281 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.003566, allocations: 132.5 kB / 455.6 MB, free: 5.125 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.003578, allocations: 20.38 kB / 455.7 MB, free: 5.105 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.003615, allocations: 28.33 kB / 455.7 MB, free: 5.078 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.003748, allocations: 118.9 kB / 455.8 MB, free: 4.957 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.003761, allocations: 8.141 kB / 455.8 MB, free: 4.949 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.003773, allocations: 8.359 kB / 455.8 MB, free: 4.941 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.003779, allocations: 4.375 kB / 455.8 MB, free: 4.938 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.003851, allocations: 55.81 kB / 455.9 MB, free: 4.883 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.004038, allocations: 177.1 kB / 456 MB, free: 4.684 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.00431, allocations: 183.2 kB / 456.2 MB, free: 4.492 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.004369, allocations: 51.66 kB / 456.3 MB, free: 4.438 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.004383, allocations: 8 kB / 456.3 MB, free: 4.43 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004405, allocations: 37.39 kB / 456.3 MB, free: 4.383 MB / 426.8 MB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.004406, allocations: 4 kB / 456.3 MB, free: 4.379 MB / 426.8 MB Notification: Performance of matching and sorting (n=30): time 0.0007469/0.005153, allocations: 367 kB / 456.7 MB, free: 4.012 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.005179, allocations: 59.41 kB / 456.7 MB, free: 3.941 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.005245, allocations: 165.8 kB / 456.9 MB, free: 3.762 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.005264, allocations: 37.7 kB / 456.9 MB, free: 3.719 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.005302, allocations: 131.5 kB / 457.1 MB, free: 3.582 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.005382, allocations: 134.9 kB / 457.2 MB, free: 3.449 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.00546, allocations: 91.81 kB / 457.3 MB, free: 3.348 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.00559, allocations: 0.5079 MB / 457.8 MB, free: 2.828 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.005646, allocations: 36.97 kB / 457.8 MB, free: 2.793 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.005758, allocations: 169.5 kB / 458 MB, free: 2.586 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.005942, allocations: 236.6 kB / 458.2 MB, free: 2.309 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005945, allocations: 0 / 458.2 MB, free: 2.309 MB / 426.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004276/0.006372, allocations: 352.8 kB / 458.6 MB, free: 1.953 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.006388, allocations: 11.98 kB / 458.6 MB, free: 1.941 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006394, allocations: 0 / 458.6 MB, free: 1.941 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.006739, allocations: 119.6 kB / 458.7 MB, free: 1.82 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.00689, allocations: 83.84 kB / 458.8 MB, free: 1.738 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.008223, allocations: 2.073 MB / 460.9 MB, free: 15.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.008292, allocations: 31.78 kB / 460.9 MB, free: 15.52 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.008307, allocations: 11.94 kB / 460.9 MB, free: 15.51 MB / 442.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 9.618e-05/0.008403, allocations: 180.4 kB / 461.1 MB, free: 15.32 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.008427, allocations: 23.98 kB / 461.1 MB, free: 15.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.008463, allocations: 37.31 kB / 461.1 MB, free: 15.27 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.008464, allocations: 0 / 461.1 MB, free: 15.27 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.008472, allocations: 4 kB / 461.1 MB, free: 15.27 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.008476, allocations: 3.984 kB / 461.1 MB, free: 15.26 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.008625, allocations: 173 kB / 461.3 MB, free: 15.07 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008627, allocations: 0 / 461.3 MB, free: 15.07 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.00883, allocations: 71.91 kB / 461.4 MB, free: 15 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.009116, allocations: 123.5 kB / 461.5 MB, free: 14.87 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.009136, allocations: 12.17 kB / 461.5 MB, free: 14.86 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.01027, allocations: 2.057 MB / 463.6 MB, free: 12.68 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01027, allocations: 0 / 463.6 MB, free: 12.68 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.01075, allocations: 410.8 kB / 464 MB, free: 12.25 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.01076, allocations: 15.84 kB / 464 MB, free: 12.24 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01078, allocations: 15.92 kB / 464 MB, free: 12.22 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01083, allocations: 8 kB / 464 MB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.01086, allocations: 27.95 kB / 464 MB, free: 12.19 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01087, allocations: 8 kB / 464.1 MB, free: 12.18 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.426e-05/0.0109, allocations: 119.2 kB / 464.2 MB, free: 12.06 MB / 442.8 MB Notification: Performance of sort global known variables: time 3e-08/0.0109, allocations: 0 / 464.2 MB, free: 12.06 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002064/0.01111, allocations: 75.94 kB / 464.2 MB, free: 11.99 MB / 442.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.0001218/0.01123, allocations: 111.2 kB / 464.4 MB, free: 11.87 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.01176, allocations: 422 kB / 464.8 MB, free: 11.43 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01176, allocations: 0 / 464.8 MB, free: 11.43 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.01205, allocations: 353.8 kB / 465.1 MB, free: 11.07 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.01219, allocations: 12 kB / 465.1 MB, free: 11.05 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.01309, allocations: 1.012 MB / 466.1 MB, free: 10.01 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.01314, allocations: 88.31 kB / 466.2 MB, free: 9.902 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01318, allocations: 13.95 kB / 466.2 MB, free: 9.891 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.01324, allocations: 94.19 kB / 466.3 MB, free: 9.797 MB / 442.8 MB Notification: Performance of SimCode: time 8.02e-07/0.01324, allocations: 0 / 466.3 MB, free: 9.797 MB / 442.8 MB Notification: Performance of Templates: time 0.004529/0.01777, allocations: 3.056 MB / 469.4 MB, free: 6.805 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.456855995580554]