Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.001049/0.001049, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001107/0.001107, allocations: 165 kB / 24.56 MB, free: 16 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 0.9276/0.9276, allocations: 177.1 MB / 205 MB, free: 5.293 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.6328/0.6328, allocations: 88.07 MB / 349.6 MB, free: 14.24 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_20,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_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.822e-05, allocations: 6.203 kB / 451.7 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001418/0.001436, allocations: 1.263 MB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.001606, allocations: 39.78 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.001637, allocations: 0 / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.001717, allocations: 7.125 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.001781, allocations: 22.22 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.001941, allocations: 19.53 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.002199, allocations: 445.4 kB / 453.4 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.002236, allocations: 10.02 kB / 453.4 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.002361, allocations: 200.3 kB / 453.6 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.00251, allocations: 137.7 kB / 453.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.002555, allocations: 21.59 kB / 453.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.604e-05/0.002591, allocations: 24.12 kB / 453.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.002677, allocations: 131 kB / 453.9 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.002769, allocations: 116.1 kB / 454.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.00294, allocations: 232.8 kB / 454.3 MB, free: 32.08 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002942, allocations: 0 / 454.3 MB, free: 32.08 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002943, allocations: 4 kB / 454.3 MB, free: 32.07 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.002948, allocations: 0 / 454.3 MB, free: 32.07 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009362/0.003884, allocations: 0.7957 MB / 455.1 MB, free: 31.58 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.003937, allocations: 14.59 kB / 455.1 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.004025, allocations: 47.2 kB / 455.1 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.004207, allocations: 176.6 kB / 455.3 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.004229, allocations: 26.41 kB / 455.3 MB, free: 31.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.004292, allocations: 57.42 kB / 455.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.004578, allocations: 216.6 kB / 455.6 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.004599, allocations: 14.38 kB / 455.6 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.004626, allocations: 11.25 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.004638, allocations: 6.156 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.004804, allocations: 126.5 kB / 455.8 MB, free: 31.27 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.005084, allocations: 270.6 kB / 456 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.005549, allocations: 348.7 kB / 456.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.005681, allocations: 118 kB / 456.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.005704, allocations: 9.531 kB / 456.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.005723, allocations: 40.77 kB / 456.5 MB, free: 30.85 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.005724, allocations: 0 / 456.5 MB, free: 30.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001795/0.007519, allocations: 0.8684 MB / 457.4 MB, free: 30.65 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.00755, allocations: 57.88 kB / 457.5 MB, free: 30.59 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.007614, allocations: 173.9 kB / 457.6 MB, free: 30.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.007644, allocations: 44.64 kB / 457.7 MB, free: 30.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.007675, allocations: 142.6 kB / 457.8 MB, free: 30.23 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.007806, allocations: 270 kB / 458.1 MB, free: 30.01 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.007927, allocations: 161.7 kB / 458.2 MB, free: 29.92 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.008, allocations: 0.5275 MB / 458.8 MB, free: 29.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.008146, allocations: 109.7 kB / 458.9 MB, free: 29.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.008375, allocations: 353.4 kB / 459.2 MB, free: 29.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.008763, allocations: 0.49 MB / 459.7 MB, free: 28.73 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.008768, allocations: 2.875 kB / 459.7 MB, free: 28.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008973/0.009665, allocations: 0.7115 MB / 460.4 MB, free: 28.49 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.009701, allocations: 7.969 kB / 460.4 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.009711, allocations: 9.312 kB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.01036, allocations: 250.4 kB / 460.7 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.01065, allocations: 163.5 kB / 460.8 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.01244, allocations: 2.672 MB / 463.5 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.01256, allocations: 59 kB / 463.6 MB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.01258, allocations: 27.25 kB / 463.6 MB, free: 26.33 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.01267, allocations: 199.8 kB / 463.8 MB, free: 26.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.01271, allocations: 47.61 kB / 463.8 MB, free: 26.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.01275, allocations: 67.94 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01276, allocations: 5.812 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.01277, allocations: 2.781 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01277, allocations: 3.234 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.01295, allocations: 261.2 kB / 464.2 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01296, allocations: 0 / 464.2 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.01335, allocations: 130.6 kB / 464.3 MB, free: 25.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005702/0.01392, allocations: 248.7 kB / 464.5 MB, free: 25.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.01395, allocations: 30.41 kB / 464.6 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.01559, allocations: 2.655 MB / 467.2 MB, free: 23.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01559, allocations: 0 / 467.2 MB, free: 23.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.01649, allocations: 0.8133 MB / 468 MB, free: 23.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.01651, allocations: 38.91 kB / 468.1 MB, free: 23.42 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.01655, allocations: 21.98 kB / 468.1 MB, free: 23.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.01663, allocations: 18.05 kB / 468.1 MB, free: 23.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.01669, allocations: 43.19 kB / 468.2 MB, free: 23.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.01671, allocations: 21.53 kB / 468.2 MB, free: 23.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.01673, allocations: 125.9 kB / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01673, allocations: 0 / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002523/0.01698, allocations: 142.8 kB / 468.4 MB, free: 23.25 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.504e-05/0.01707, allocations: 141.3 kB / 468.6 MB, free: 23.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008004/0.01787, allocations: 0.7222 MB / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01787, allocations: 0 / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.01834, allocations: 0.5213 MB / 469.8 MB, free: 22.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.01851, allocations: 25.25 kB / 469.9 MB, free: 22.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.01985, allocations: 1.958 MB / 471.8 MB, free: 21.13 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.0199, allocations: 130.9 kB / 471.9 MB, free: 21.06 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.02003, allocations: 119 kB / 472.1 MB, free: 21.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.02008, allocations: 26.75 kB / 472.1 MB, free: 21.03 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.02008, allocations: 0 / 472.1 MB, free: 21.03 MB / 410.8 MB Notification: Performance of Templates: time 0.006387/0.02647, allocations: 5.495 MB / 477.6 MB, free: 20.53 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_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.719184520188719]