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.001009/0.001009, allocations: 76.23 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.001548/0.001548, allocations: 161 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.9824/0.9824, allocations: 177.1 MB / 205 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.5911/0.5911, allocations: 88.07 MB / 349.6 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_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 1.934e-06/1.934e-06, allocations: 0 / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.76e-05, allocations: 2.312 kB / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002692/0.00272, allocations: 1.273 MB / 452.9 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.002952, allocations: 37.77 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.002995, allocations: 0 / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003098, allocations: 3.938 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.003182, allocations: 13.91 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003404, allocations: 28.02 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.003655, allocations: 237.9 kB / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.003699, allocations: 2.906 kB / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.003846, allocations: 102 kB / 453.3 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.004008, allocations: 76.14 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.00405, allocations: 15.41 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.063e-05/0.004081, allocations: 11.12 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.004165, allocations: 70.64 kB / 453.5 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.004244, allocations: 62.56 kB / 453.6 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004392, allocations: 110.3 kB / 453.7 MB, free: 32.22 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.004394, allocations: 4 kB / 453.7 MB, free: 32.22 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004396, allocations: 2.906 kB / 453.7 MB, free: 32.22 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.004401, allocations: 0 / 453.7 MB, free: 32.22 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.000838/0.005239, allocations: 0.551 MB / 454.2 MB, free: 31.8 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005279, allocations: 10.78 kB / 454.2 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.005354, allocations: 26.84 kB / 454.3 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.005542, allocations: 145 kB / 454.4 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.005561, allocations: 16.53 kB / 454.4 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.005622, allocations: 26.02 kB / 454.5 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.005859, allocations: 121.8 kB / 454.6 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.005876, allocations: 6.688 kB / 454.6 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.005896, allocations: 4.375 kB / 454.6 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.005907, allocations: 6.688 kB / 454.6 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.006052, allocations: 72.86 kB / 454.7 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.00632, allocations: 191.9 kB / 454.8 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.006799, allocations: 194.2 kB / 455 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.006914, allocations: 63.88 kB / 455.1 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.006935, allocations: 5.625 kB / 455.1 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.006957, allocations: 36.98 kB / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.006959, allocations: 0 / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.001347/0.008306, allocations: 415.5 kB / 455.5 MB, free: 31.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.008329, allocations: 54.34 kB / 455.6 MB, free: 31.05 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.008391, allocations: 173.9 kB / 455.8 MB, free: 30.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.00841, allocations: 33.7 kB / 455.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.008438, allocations: 138.3 kB / 455.9 MB, free: 30.7 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.008536, allocations: 139.9 kB / 456.1 MB, free: 30.59 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.008637, allocations: 88.69 kB / 456.2 MB, free: 30.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.008703, allocations: 0.5011 MB / 456.7 MB, free: 30.03 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.008842, allocations: 55.03 kB / 456.7 MB, free: 30.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.009022, allocations: 181 kB / 456.9 MB, free: 29.88 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.009355, allocations: 257.1 kB / 457.1 MB, free: 29.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.009359, allocations: 0 / 457.1 MB, free: 29.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005886/0.009948, allocations: 388.9 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.009964, allocations: 6.625 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.009972, allocations: 6.844 kB / 457.5 MB, free: 29.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.01037, allocations: 120.5 kB / 457.7 MB, free: 29.51 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.01052, allocations: 87.81 kB / 457.7 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.01168, allocations: 2.138 MB / 459.9 MB, free: 27.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.01175, allocations: 29.16 kB / 459.9 MB, free: 27.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01177, allocations: 18.25 kB / 459.9 MB, free: 27.59 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 6.191e-05/0.01183, allocations: 171.4 kB / 460.1 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.01185, allocations: 19.42 kB / 460.1 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.01189, allocations: 36.03 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01189, allocations: 5.922 kB / 460.2 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.0119, allocations: 6.5 kB / 460.2 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.0119, allocations: 0 / 460.2 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01202, allocations: 186.3 kB / 460.3 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01202, allocations: 0 / 460.3 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.01222, allocations: 69.75 kB / 460.4 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.01252, allocations: 119.6 kB / 460.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.01254, allocations: 12.86 kB / 460.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.01353, allocations: 2.15 MB / 462.7 MB, free: 25.26 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01353, allocations: 0 / 462.7 MB, free: 25.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.01401, allocations: 439.9 kB / 463.1 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.01402, allocations: 13.61 kB / 463.1 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01404, allocations: 13.3 kB / 463.1 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.01408, allocations: 8 kB / 463.2 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.01413, allocations: 21.97 kB / 463.2 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01414, allocations: 9.656 kB / 463.2 MB, free: 25.05 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.01415, allocations: 122.2 kB / 463.3 MB, free: 24.93 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 3.938 kB / 463.3 MB, free: 24.93 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002141/0.01437, allocations: 72.81 kB / 463.4 MB, free: 24.91 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 9.079e-05/0.01446, allocations: 113.3 kB / 463.5 MB, free: 24.81 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.01498, allocations: 453.9 kB / 463.9 MB, free: 24.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01498, allocations: 0 / 463.9 MB, free: 24.57 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.01525, allocations: 353.2 kB / 464.3 MB, free: 24.35 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.01541, allocations: 17.5 kB / 464.3 MB, free: 24.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.01622, allocations: 1.016 MB / 465.3 MB, free: 23.57 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.01626, allocations: 90.47 kB / 465.4 MB, free: 23.5 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.551e-05/0.01633, allocations: 56.25 kB / 465.5 MB, free: 23.49 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.01636, allocations: 20.06 kB / 465.5 MB, free: 23.48 MB / 410.8 MB Notification: Performance of SimCode: time 1.112e-06/0.01636, allocations: 0 / 465.5 MB, free: 23.48 MB / 410.8 MB Notification: Performance of Templates: time 0.004272/0.02063, allocations: 2.893 MB / 468.4 MB, free: 23.22 MB / 410.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.5699875908903778]