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.001443/0.001443, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001154/0.001154, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.6517/0.6517, allocations: 88.07 MB / 349.9 MB, free: 14.3 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.453e-06/1.453e-06, allocations: 0 / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.534e-05, allocations: 3.922 kB / 451.6 MB, free: 33.28 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002438/0.002474, allocations: 1.276 MB / 452.9 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.002708, allocations: 33.7 kB / 452.9 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.002767, allocations: 0 / 452.9 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.002875, allocations: 7.312 kB / 452.9 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.00296, allocations: 10.53 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.003151, allocations: 26.33 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.003389, allocations: 231.2 kB / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.003433, allocations: 10.69 kB / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.00355, allocations: 109.4 kB / 453.3 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.003686, allocations: 72.38 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.003729, allocations: 15.19 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.003756, allocations: 12.03 kB / 453.4 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.003836, allocations: 64.2 kB / 453.5 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.003913, allocations: 66.59 kB / 453.5 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004049, allocations: 110.9 kB / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004051, allocations: 0 / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004053, allocations: 0 / 453.7 MB, free: 32.19 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.004058, allocations: 6.875 kB / 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.0007349/0.004793, allocations: 0.5521 MB / 454.2 MB, free: 31.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004831, allocations: 8.031 kB / 454.2 MB, free: 31.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.004898, allocations: 26.19 kB / 454.2 MB, free: 31.76 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.005066, allocations: 145.7 kB / 454.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.005083, allocations: 16.12 kB / 454.4 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.005128, allocations: 32.92 kB / 454.4 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.005345, allocations: 119 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.005361, allocations: 3.094 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.005382, allocations: 4.375 kB / 454.6 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.005392, allocations: 13.31 kB / 454.6 MB, free: 31.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.005519, allocations: 70.59 kB / 454.6 MB, free: 31.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.005774, allocations: 193.5 kB / 454.8 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.006195, allocations: 196.5 kB / 455 MB, free: 31.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.006311, allocations: 64.28 kB / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.00633, allocations: 6 kB / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.006348, allocations: 45.08 kB / 455.1 MB, free: 31.19 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.00635, allocations: 0 / 455.1 MB, free: 31.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.001233/0.007583, allocations: 406.3 kB / 455.5 MB, free: 31.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.007609, allocations: 56.44 kB / 455.6 MB, free: 31.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.007669, allocations: 166.5 kB / 455.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.00769, allocations: 36.39 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.007712, allocations: 137.9 kB / 455.9 MB, free: 30.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.0078, allocations: 138.7 kB / 456.1 MB, free: 30.55 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.007893, allocations: 88.55 kB / 456.1 MB, free: 30.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.007948, allocations: 0.5044 MB / 456.6 MB, free: 30 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.00807, allocations: 59.61 kB / 456.7 MB, free: 29.99 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.008245, allocations: 175.7 kB / 456.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.008564, allocations: 254.5 kB / 457.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.008567, allocations: 0 / 457.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007282/0.009296, allocations: 389.3 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.00931, allocations: 5.938 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.009317, allocations: 2.844 kB / 457.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.009875, allocations: 121.3 kB / 457.6 MB, free: 29.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.01012, allocations: 87.34 kB / 457.7 MB, free: 29.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.01176, allocations: 2.148 MB / 459.9 MB, free: 27.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01188, allocations: 25.59 kB / 459.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.01191, allocations: 15.62 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.578e-05/0.01199, allocations: 174.4 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.01204, allocations: 22.59 kB / 460.1 MB, free: 27.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.01209, allocations: 32.12 kB / 460.1 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01209, allocations: 2.781 kB / 460.1 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.0121, allocations: 10.94 kB / 460.1 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.0121, allocations: 0 / 460.1 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.01228, allocations: 184.5 kB / 460.3 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01229, allocations: 0 / 460.3 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.01266, allocations: 73.58 kB / 460.4 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.01319, allocations: 121.4 kB / 460.5 MB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.01322, allocations: 12.55 kB / 460.5 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.01438, allocations: 2.14 MB / 462.7 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01438, allocations: 0 / 462.7 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.01488, allocations: 437.6 kB / 463.1 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.01488, allocations: 13.77 kB / 463.1 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01491, allocations: 13.16 kB / 463.1 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.01496, allocations: 4 kB / 463.1 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.015, allocations: 21.42 kB / 463.1 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01501, allocations: 17.02 kB / 463.2 MB, free: 25.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.01503, allocations: 126.1 kB / 463.3 MB, free: 24.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01503, allocations: 3.938 kB / 463.3 MB, free: 24.89 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001958/0.01522, allocations: 72.75 kB / 463.4 MB, free: 24.88 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 7.366e-05/0.01529, allocations: 110.9 kB / 463.5 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.01577, allocations: 455.2 kB / 463.9 MB, free: 24.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01577, allocations: 0 / 463.9 MB, free: 24.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.01603, allocations: 347.9 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.0001401/0.01617, allocations: 23.91 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.0007703/0.01694, allocations: 1.026 MB / 465.3 MB, free: 23.53 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.01698, allocations: 93.33 kB / 465.4 MB, free: 23.46 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.01704, allocations: 56.42 kB / 465.4 MB, free: 23.45 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.01707, allocations: 17.03 kB / 465.5 MB, free: 23.45 MB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.01707, allocations: 0 / 465.5 MB, free: 23.45 MB / 410.8 MB Notification: Performance of Templates: time 0.003957/0.02103, allocations: 2.884 MB / 468.3 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.7003484931774437]