Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.00108/0.00108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007425/0.008505, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009663/0.0009663, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002211, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9435/0.9435, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09813/1.042, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.7231/0.7231, allocations: 88.08 MB / 332.1 MB, free: 14.19 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06593/0.789, allocations: 32.92 MB / 365 MB, free: 13.44 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 366.3 MB, free: 12.19 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.634e-05, allocations: 3.297 kB / 366.3 MB, free: 12.19 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001796/0.001823, allocations: 1.322 MB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 8.447e-05/0.001907, allocations: 39.88 kB / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.001932, allocations: 0 / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.001963, allocations: 0 / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.002015, allocations: 15.92 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.002133, allocations: 27.88 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.002451, allocations: 471.5 kB / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.002489, allocations: 4 kB / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.002661, allocations: 207.7 kB / 368.3 MB, free: 10.11 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.002831, allocations: 131.8 kB / 368.5 MB, free: 9.977 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.002876, allocations: 24 kB / 368.5 MB, free: 9.953 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.382e-05/0.002909, allocations: 20 kB / 368.5 MB, free: 9.934 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.002989, allocations: 87.84 kB / 368.6 MB, free: 9.848 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.003068, allocations: 71.88 kB / 368.7 MB, free: 9.777 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.003245, allocations: 215.2 kB / 368.9 MB, free: 9.566 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.003261, allocations: 0 / 368.9 MB, free: 9.566 MB / 362.8 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003262, allocations: 4 kB / 368.9 MB, free: 9.562 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.003274, allocations: 0 / 368.9 MB, free: 9.562 MB / 362.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.0008099/0.004084, allocations: 0.6417 MB / 369.5 MB, free: 8.891 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004116, allocations: 8.031 kB / 369.5 MB, free: 8.883 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.004177, allocations: 40.91 kB / 369.6 MB, free: 8.844 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.004337, allocations: 165.5 kB / 369.7 MB, free: 8.656 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.004357, allocations: 28.88 kB / 369.8 MB, free: 8.629 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.004416, allocations: 56.27 kB / 369.8 MB, free: 8.574 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.004613, allocations: 196.5 kB / 370 MB, free: 8.375 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.004628, allocations: 12.12 kB / 370 MB, free: 8.363 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.004646, allocations: 8.375 kB / 370 MB, free: 8.355 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004653, allocations: 8.375 kB / 370 MB, free: 8.348 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.004764, allocations: 91.36 kB / 370.1 MB, free: 8.262 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.005036, allocations: 234.1 kB / 370.3 MB, free: 8.016 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.00541, allocations: 295.3 kB / 370.6 MB, free: 7.719 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.005506, allocations: 90.34 kB / 370.7 MB, free: 7.629 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.005531, allocations: 8.5 kB / 370.7 MB, free: 7.617 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.005553, allocations: 39.06 kB / 370.8 MB, free: 7.57 MB / 362.8 MB Notification: Performance of pre-optimization done (n=60): time 1.894e-06/0.005555, allocations: 0 / 370.8 MB, free: 7.57 MB / 362.8 MB Notification: Performance of matching and sorting (n=60): time 0.001418/0.006973, allocations: 0.711 MB / 371.5 MB, free: 6.848 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.007002, allocations: 55.91 kB / 371.5 MB, free: 6.781 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.007058, allocations: 118.7 kB / 371.6 MB, free: 6.652 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.007086, allocations: 41.7 kB / 371.7 MB, free: 6.605 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.007112, allocations: 89.45 kB / 371.8 MB, free: 6.516 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.007237, allocations: 253.8 kB / 372 MB, free: 6.266 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.007349, allocations: 142.6 kB / 372.2 MB, free: 6.121 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.007432, allocations: 358.6 kB / 372.5 MB, free: 5.762 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.007513, allocations: 69.97 kB / 372.6 MB, free: 5.695 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.007673, allocations: 252.4 kB / 372.8 MB, free: 5.383 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.007961, allocations: 378.1 kB / 373.2 MB, free: 4.949 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.007964, allocations: 0 / 373.2 MB, free: 4.949 MB / 362.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006862/0.008651, allocations: 0.5447 MB / 373.7 MB, free: 4.398 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.008669, allocations: 8 kB / 373.8 MB, free: 4.391 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.008678, allocations: 4 kB / 373.8 MB, free: 4.387 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.009256, allocations: 238 kB / 374 MB, free: 4.152 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.009672, allocations: 232.6 kB / 374.2 MB, free: 3.934 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.01149, allocations: 1.999 MB / 376.2 MB, free: 1.84 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01163, allocations: 59.58 kB / 376.3 MB, free: 1.781 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.01165, allocations: 23.94 kB / 376.3 MB, free: 1.758 MB / 362.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 9.818e-05/0.01175, allocations: 156.5 kB / 376.4 MB, free: 1.594 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.01179, allocations: 35.97 kB / 376.5 MB, free: 1.559 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.01185, allocations: 65.91 kB / 376.5 MB, free: 1.5 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01185, allocations: 4 kB / 376.6 MB, free: 1.496 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.01187, allocations: 4 kB / 376.6 MB, free: 1.492 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01188, allocations: 3.984 kB / 376.6 MB, free: 1.488 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.0121, allocations: 230.1 kB / 376.8 MB, free: 1.242 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0121, allocations: 0 / 376.8 MB, free: 1.242 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.0126, allocations: 191.5 kB / 377 MB, free: 1.062 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.01262, allocations: 31.73 kB / 377 MB, free: 1.031 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.01313, allocations: 234.6 kB / 377.2 MB, free: 0.8008 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.01318, allocations: 27.91 kB / 377.3 MB, free: 0.7734 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.01485, allocations: 1.966 MB / 379.2 MB, free: 14.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01485, allocations: 4 kB / 379.2 MB, free: 14.71 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.0156, allocations: 0.6905 MB / 379.9 MB, free: 14 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.01564, allocations: 19.97 kB / 379.9 MB, free: 13.98 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.01572, allocations: 12 kB / 379.9 MB, free: 13.96 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.01579, allocations: 48.41 kB / 380 MB, free: 13.92 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.01581, allocations: 15.98 kB / 380 MB, free: 13.9 MB / 378.8 MB Notification: Performance of sorting global known variables: time 1.088e-05/0.01582, allocations: 8.859 kB / 380 MB, free: 13.89 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 380 MB, free: 13.89 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0002845/0.0161, allocations: 140 kB / 380.2 MB, free: 13.75 MB / 378.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 0.0001261/0.01623, allocations: 112.3 kB / 380.3 MB, free: 13.64 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0007281/0.01695, allocations: 0.5952 MB / 380.9 MB, free: 13.03 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.01696, allocations: 7.938 kB / 380.9 MB, free: 13.02 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.01743, allocations: 442.5 kB / 381.3 MB, free: 12.57 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.01756, allocations: 61.12 kB / 381.4 MB, free: 12.52 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.01876, allocations: 0.8705 MB / 382.2 MB, free: 11.62 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.01885, allocations: 130.8 kB / 382.4 MB, free: 11.47 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.01892, allocations: 35.2 kB / 382.4 MB, free: 11.44 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.01901, allocations: 87.38 kB / 382.5 MB, free: 11.36 MB / 378.8 MB Notification: Performance of SimCode: time 1.052e-06/0.01901, allocations: 0 / 382.5 MB, free: 11.36 MB / 378.8 MB Notification: Performance of Templates: time 0.007236/0.02625, allocations: 5.648 MB / 388.1 MB, free: 5.773 MB / 378.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.158820548094809]