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.0009025/0.0009025, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.0009508/0.0009508, allocations: 163.2 kB / 25.61 MB, free: 8.582 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.8953/0.8953, allocations: 177.1 MB / 206 MB, free: 4.465 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.7866/0.7866, allocations: 88.09 MB / 350.7 MB, free: 11.77 MB / 330.8 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 452.9 MB, free: 7.965 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.616e-05, allocations: 8.703 kB / 452.9 MB, free: 7.957 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.00151/0.001526, allocations: 1.262 MB / 454.2 MB, free: 6.684 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.001673, allocations: 39.88 kB / 454.2 MB, free: 6.645 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.001711, allocations: 0 / 454.2 MB, free: 6.645 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/0.001789, allocations: 11.92 kB / 454.2 MB, free: 6.633 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.001843, allocations: 4 kB / 454.2 MB, free: 6.629 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.001986, allocations: 23.94 kB / 454.3 MB, free: 6.605 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.002364, allocations: 451.3 kB / 454.7 MB, free: 6.164 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.002404, allocations: 4 kB / 454.7 MB, free: 6.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.002571, allocations: 199.8 kB / 454.9 MB, free: 5.965 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.002754, allocations: 131.8 kB / 455 MB, free: 5.836 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.002801, allocations: 24 kB / 455.1 MB, free: 5.812 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.002837, allocations: 24 kB / 455.1 MB, free: 5.789 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.002946, allocations: 131.7 kB / 455.2 MB, free: 5.66 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.003054, allocations: 127.7 kB / 455.3 MB, free: 5.535 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.00327, allocations: 235.2 kB / 455.6 MB, free: 5.305 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003272, allocations: 0 / 455.6 MB, free: 5.305 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003273, allocations: 0 / 455.6 MB, free: 5.305 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.003279, allocations: 0 / 455.6 MB, free: 5.305 MB / 426.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.0009236/0.004202, allocations: 0.7114 MB / 456.3 MB, free: 4.551 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.004241, allocations: 15.97 kB / 456.3 MB, free: 4.535 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.004313, allocations: 44.8 kB / 456.3 MB, free: 4.492 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.004509, allocations: 160.4 kB / 456.5 MB, free: 4.309 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.004535, allocations: 28.88 kB / 456.5 MB, free: 4.281 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.004598, allocations: 52.28 kB / 456.6 MB, free: 4.23 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.00484, allocations: 196.5 kB / 456.8 MB, free: 4.035 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.004857, allocations: 16.11 kB / 456.8 MB, free: 4.02 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.004882, allocations: 8.375 kB / 456.8 MB, free: 4.012 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00489, allocations: 12.31 kB / 456.8 MB, free: 4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.005026, allocations: 103.3 kB / 456.9 MB, free: 3.895 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.005339, allocations: 255.5 kB / 457.1 MB, free: 3.621 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.005792, allocations: 329.7 kB / 457.5 MB, free: 3.285 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.005909, allocations: 101.1 kB / 457.6 MB, free: 3.184 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.005935, allocations: 8.5 kB / 457.6 MB, free: 3.176 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.005966, allocations: 45.89 kB / 457.6 MB, free: 3.121 MB / 426.8 MB Notification: Performance of pre-optimization done (n=60): time 1.914e-06/0.005968, allocations: 3.938 kB / 457.6 MB, free: 3.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=60): time 0.001738/0.007707, allocations: 0.7919 MB / 458.4 MB, free: 2.312 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.00774, allocations: 55.91 kB / 458.5 MB, free: 2.246 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.007828, allocations: 177.9 kB / 458.6 MB, free: 2.055 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.007866, allocations: 45.7 kB / 458.7 MB, free: 2.004 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.007918, allocations: 136.2 kB / 458.8 MB, free: 1.867 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.00806, allocations: 273.8 kB / 459.1 MB, free: 1.598 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.008188, allocations: 164.2 kB / 459.3 MB, free: 1.426 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.008339, allocations: 0.5312 MB / 459.8 MB, free: 0.8828 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.00844, allocations: 81.94 kB / 459.9 MB, free: 0.8047 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.008656, allocations: 331.7 kB / 460.2 MB, free: 404 kB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.009001, allocations: 458.9 kB / 460.6 MB, free: 15.86 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.009005, allocations: 0 / 460.6 MB, free: 15.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007893/0.009794, allocations: 0.6489 MB / 461.3 MB, free: 15.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.009809, allocations: 8 kB / 461.3 MB, free: 15.19 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.009817, allocations: 4 kB / 461.3 MB, free: 15.19 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.0104, allocations: 243.4 kB / 461.5 MB, free: 14.95 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.01068, allocations: 159.8 kB / 461.7 MB, free: 14.79 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.01261, allocations: 2.531 MB / 464.2 MB, free: 12.14 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01273, allocations: 51.62 kB / 464.3 MB, free: 12.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.01275, allocations: 28.03 kB / 464.3 MB, free: 12.07 MB / 442.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 0.0001108/0.01286, allocations: 200.4 kB / 464.5 MB, free: 11.86 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.01291, allocations: 43.8 kB / 464.5 MB, free: 11.82 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.01297, allocations: 57.97 kB / 464.6 MB, free: 11.77 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01298, allocations: 11.94 kB / 464.6 MB, free: 11.75 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.01299, allocations: 4 kB / 464.6 MB, free: 11.75 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01299, allocations: 3.984 kB / 464.6 MB, free: 11.75 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01321, allocations: 241.4 kB / 464.8 MB, free: 11.48 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01321, allocations: 0 / 464.8 MB, free: 11.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.0136, allocations: 135.9 kB / 465 MB, free: 11.35 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.01416, allocations: 241.7 kB / 465.2 MB, free: 11.11 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.01419, allocations: 27.97 kB / 465.2 MB, free: 11.09 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.01598, allocations: 2.513 MB / 467.8 MB, free: 8.453 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01598, allocations: 32 / 467.8 MB, free: 8.453 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.01827, allocations: 0.7578 MB / 468.5 MB, free: 7.676 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.01832, allocations: 43.64 kB / 468.6 MB, free: 7.633 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.0184, allocations: 23.91 kB / 468.6 MB, free: 7.609 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.01857, allocations: 12 kB / 468.6 MB, free: 7.598 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.01869, allocations: 48.41 kB / 468.6 MB, free: 7.547 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.01872, allocations: 12 kB / 468.7 MB, free: 7.535 MB / 442.8 MB Notification: Performance of sorting global known variables: time 5.013e-05/0.01877, allocations: 123.2 kB / 468.8 MB, free: 7.414 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01877, allocations: 0 / 468.8 MB, free: 7.414 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0005534/0.01933, allocations: 144 kB / 468.9 MB, free: 7.273 MB / 442.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.0001751/0.0195, allocations: 131.2 kB / 469 MB, free: 7.137 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.02078, allocations: 0.6726 MB / 469.7 MB, free: 6.445 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.02079, allocations: 4 kB / 469.7 MB, free: 6.441 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009081/0.0217, allocations: 0.5072 MB / 470.2 MB, free: 5.91 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.02196, allocations: 31.88 kB / 470.3 MB, free: 5.879 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.02445, allocations: 1.938 MB / 472.2 MB, free: 3.91 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.02456, allocations: 130.8 kB / 472.3 MB, free: 3.762 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.02467, allocations: 31.28 kB / 472.4 MB, free: 3.73 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.02479, allocations: 102.2 kB / 472.5 MB, free: 3.629 MB / 442.8 MB Notification: Performance of SimCode: time 1.182e-06/0.02479, allocations: 0 / 472.5 MB, free: 3.629 MB / 442.8 MB Notification: Performance of Templates: time 0.0106/0.03539, allocations: 5.715 MB / 478.2 MB, free: 13.98 MB / 458.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 -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.469443855807185]