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.001355/0.001355, allocations: 80.8 kB / 21.5 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.00164/0.00164, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.947/0.947, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.5916/0.5916, allocations: 88.09 MB / 349.9 MB, free: 14.12 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.373e-06/1.373e-06, allocations: 0 / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.457e-05, allocations: 2.969 kB / 398.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002105/0.002129, allocations: 1.276 MB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001946/0.002324, allocations: 43.88 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.002356, allocations: 0 / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.821e-05/0.002444, allocations: 7.922 kB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.00251, allocations: 7.984 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.002688, allocations: 19.95 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.002929, allocations: 239.6 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.002968, allocations: 4 kB / 400.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.00309, allocations: 103.9 kB / 400.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.003222, allocations: 71.8 kB / 400.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.003256, allocations: 12 kB / 400.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.003282, allocations: 16 kB / 400.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.003356, allocations: 67.84 kB / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.003427, allocations: 67.8 kB / 400.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.003561, allocations: 115.6 kB / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003563, allocations: 0 / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003564, allocations: 0 / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003567, allocations: 0 / 400.9 MB, free: 11.46 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005915/0.004158, allocations: 401.2 kB / 401.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.004191, allocations: 8.031 kB / 401.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.004242, allocations: 24.92 kB / 401.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004388, allocations: 141.6 kB / 401.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.004404, allocations: 12.38 kB / 401.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.004449, allocations: 32.33 kB / 401.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.004612, allocations: 106.9 kB / 401.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.004628, allocations: 12.16 kB / 401.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.004644, allocations: 4.375 kB / 401.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.004651, allocations: 4.375 kB / 401.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.004738, allocations: 55.84 kB / 401.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.004952, allocations: 139.8 kB / 401.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.005288, allocations: 161.7 kB / 402 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.00536, allocations: 44.84 kB / 402 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.005378, allocations: 4 kB / 402 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.005403, allocations: 43.31 kB / 402.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.514e-06/0.005405, allocations: 3.984 kB / 402.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0008874/0.006293, allocations: 325.8 kB / 402.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.006325, allocations: 55.41 kB / 402.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.006382, allocations: 110.7 kB / 402.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.006405, allocations: 29.7 kB / 402.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.006432, allocations: 92.73 kB / 402.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.006521, allocations: 122.9 kB / 402.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.00661, allocations: 78.14 kB / 402.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.006703, allocations: 334.7 kB / 403.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.006775, allocations: 32.98 kB / 403.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.00691, allocations: 134.4 kB / 403.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.007139, allocations: 201 kB / 403.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.007143, allocations: 0 / 403.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000543/0.007686, allocations: 301 kB / 403.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.007704, allocations: 8 kB / 403.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.007712, allocations: 0 / 403.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.008173, allocations: 123.6 kB / 404 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.008399, allocations: 83.84 kB / 404.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.00998, allocations: 1.508 MB / 405.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01012, allocations: 27.78 kB / 405.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.01014, allocations: 12 kB / 405.6 MB, free: 6.426 MB / 378.7 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 0.0001359/0.01028, allocations: 136.5 kB / 405.7 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.01033, allocations: 19.98 kB / 405.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.01039, allocations: 33.34 kB / 405.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.01039, allocations: 8 kB / 405.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.0104, allocations: 0 / 405.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.01041, allocations: 7.984 kB / 405.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.01066, allocations: 149.6 kB / 406 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01066, allocations: 0 / 406 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.01104, allocations: 67.97 kB / 406 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.01132, allocations: 119.5 kB / 406.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.01134, allocations: 11.98 kB / 406.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009752/0.01232, allocations: 1.506 MB / 407.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01232, allocations: 7.938 kB / 407.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.01271, allocations: 373.2 kB / 408 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.01272, allocations: 19.83 kB / 408 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.01274, allocations: 8 kB / 408.1 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.01279, allocations: 15.94 kB / 408.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.01283, allocations: 27.94 kB / 408.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01284, allocations: 3.938 kB / 408.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.498e-06/0.01285, allocations: 8.859 kB / 408.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01285, allocations: 0 / 408.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.01303, allocations: 72 kB / 408.2 MB, free: 3.691 MB / 378.7 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.0001055/0.01313, allocations: 94.94 kB / 408.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.01356, allocations: 356 kB / 408.6 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01356, allocations: 0 / 408.6 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.01383, allocations: 263.8 kB / 408.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.01393, allocations: 12.81 kB / 408.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.01449, allocations: 0.6007 MB / 409.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.01454, allocations: 92.94 kB / 409.6 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.719e-05/0.01458, allocations: 17.94 kB / 409.6 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.01464, allocations: 71.38 kB / 409.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01464, allocations: 0 / 409.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of Templates: time 0.004502/0.01914, allocations: 3 MB / 412.7 MB, free: 15.17 MB / 394.7 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.2582786409184337]