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.001137/0.001137, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002759, allocations: 449.8 kB / 10.44 MB, free: 252 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.001143/0.001143, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002569, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8986/0.8986, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08124/0.9799, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.6313/0.6313, allocations: 88.07 MB / 332.2 MB, free: 14.14 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04613/0.6774, allocations: 32.94 MB / 365.2 MB, free: 13.38 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 366.5 MB, free: 12.11 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.768e-05, allocations: 5.797 kB / 366.5 MB, free: 12.11 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002164/0.002182, allocations: 1.322 MB / 367.8 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.002285, allocations: 47.8 kB / 367.8 MB, free: 10.72 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.002309, allocations: 0 / 367.8 MB, free: 10.72 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.002341, allocations: 0 / 367.8 MB, free: 10.72 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.002392, allocations: 7.984 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.002524, allocations: 27.94 kB / 367.9 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.002966, allocations: 471.4 kB / 368.3 MB, free: 10.23 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.003004, allocations: 8 kB / 368.3 MB, free: 10.22 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.003253, allocations: 207.7 kB / 368.5 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.003489, allocations: 139.7 kB / 368.7 MB, free: 9.879 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.003555, allocations: 24 kB / 368.7 MB, free: 9.855 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.003623, allocations: 20 kB / 368.7 MB, free: 9.836 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.003703, allocations: 87.84 kB / 368.8 MB, free: 9.75 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.003779, allocations: 67.94 kB / 368.9 MB, free: 9.684 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003942, allocations: 215.2 kB / 369.1 MB, free: 9.473 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.003951, allocations: 0 / 369.1 MB, free: 9.473 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003951, allocations: 0 / 369.1 MB, free: 9.473 MB / 362.8 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.00396, allocations: 0 / 369.1 MB, free: 9.473 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.0007919/0.004752, allocations: 0.6456 MB / 369.7 MB, free: 8.797 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.00479, allocations: 8.031 kB / 369.7 MB, free: 8.789 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.004849, allocations: 40.91 kB / 369.8 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005017, allocations: 157.5 kB / 369.9 MB, free: 8.57 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.005037, allocations: 32.88 kB / 370 MB, free: 8.539 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.005105, allocations: 60.25 kB / 370 MB, free: 8.48 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.005327, allocations: 196.4 kB / 370.2 MB, free: 8.281 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.005342, allocations: 8.141 kB / 370.2 MB, free: 8.273 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.005362, allocations: 8.375 kB / 370.2 MB, free: 8.266 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.005371, allocations: 12.38 kB / 370.2 MB, free: 8.254 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.005489, allocations: 95.36 kB / 370.3 MB, free: 8.16 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.00575, allocations: 234.1 kB / 370.6 MB, free: 7.918 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.006105, allocations: 294.2 kB / 370.8 MB, free: 7.621 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.006207, allocations: 90.28 kB / 370.9 MB, free: 7.531 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.006236, allocations: 8.5 kB / 370.9 MB, free: 7.523 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.006269, allocations: 43.06 kB / 371 MB, free: 7.473 MB / 362.8 MB Notification: Performance of pre-optimization done (n=60): time 2.826e-06/0.006272, allocations: 0 / 371 MB, free: 7.473 MB / 362.8 MB Notification: Performance of matching and sorting (n=60): time 0.001464/0.007737, allocations: 0.7071 MB / 371.7 MB, free: 6.758 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.007765, allocations: 59.89 kB / 371.7 MB, free: 6.688 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.007814, allocations: 114.7 kB / 371.9 MB, free: 6.562 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.007844, allocations: 41.7 kB / 371.9 MB, free: 6.516 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.007872, allocations: 93.44 kB / 372 MB, free: 6.422 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.007995, allocations: 253.8 kB / 372.2 MB, free: 6.172 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.008103, allocations: 142.6 kB / 372.4 MB, free: 6.027 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.008182, allocations: 354.7 kB / 372.7 MB, free: 5.672 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.008262, allocations: 69.97 kB / 372.8 MB, free: 5.605 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.008417, allocations: 248.3 kB / 373 MB, free: 5.297 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.00871, allocations: 382.2 kB / 373.4 MB, free: 4.855 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.008714, allocations: 0 / 373.4 MB, free: 4.855 MB / 362.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006665/0.00938, allocations: 0.5446 MB / 374 MB, free: 4.301 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.009396, allocations: 8 kB / 374 MB, free: 4.293 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.009403, allocations: 7.938 kB / 374 MB, free: 4.285 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.009977, allocations: 242 kB / 374.2 MB, free: 4.047 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.01039, allocations: 233.6 kB / 374.4 MB, free: 3.828 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.0122, allocations: 1.996 MB / 376.4 MB, free: 1.742 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01231, allocations: 63.58 kB / 376.5 MB, free: 1.68 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.01234, allocations: 20 kB / 376.5 MB, free: 1.66 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.45e-05/0.01243, allocations: 164.4 kB / 376.7 MB, free: 1.488 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.01247, allocations: 27.98 kB / 376.7 MB, free: 1.461 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.01254, allocations: 69.94 kB / 376.8 MB, free: 1.398 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01254, allocations: 8 kB / 376.8 MB, free: 1.391 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.01255, allocations: 4 kB / 376.8 MB, free: 1.387 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01255, allocations: 3.984 kB / 376.8 MB, free: 1.383 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.01277, allocations: 226.1 kB / 377 MB, free: 1.145 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01277, allocations: 0 / 377 MB, free: 1.145 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.01327, allocations: 191 kB / 377.2 MB, free: 0.9648 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01328, allocations: 31.73 kB / 377.2 MB, free: 0.9336 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.01381, allocations: 238.4 kB / 377.5 MB, free: 0.6992 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.01385, allocations: 31.91 kB / 377.5 MB, free: 0.668 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.0155, allocations: 1.958 MB / 379.4 MB, free: 14.61 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0155, allocations: 0 / 379.4 MB, free: 14.61 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.01627, allocations: 0.7021 MB / 380.1 MB, free: 13.89 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.01631, allocations: 23.97 kB / 380.2 MB, free: 13.87 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.0164, allocations: 16 kB / 380.2 MB, free: 13.85 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.01645, allocations: 40.41 kB / 380.2 MB, free: 13.81 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.01647, allocations: 15.98 kB / 380.2 MB, free: 13.8 MB / 378.8 MB Notification: Performance of sorting global known variables: time 1.129e-05/0.01648, allocations: 12.86 kB / 380.3 MB, free: 13.78 MB / 378.8 MB Notification: Performance of sort global known variables: time 4e-08/0.01648, allocations: 0 / 380.3 MB, free: 13.78 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0002453/0.01673, allocations: 144 kB / 380.4 MB, free: 13.64 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.0001083/0.01684, allocations: 108.3 kB / 380.5 MB, free: 13.53 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.01754, allocations: 0.6036 MB / 381.1 MB, free: 12.91 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.01755, allocations: 4 kB / 381.1 MB, free: 12.9 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.01801, allocations: 461.1 kB / 381.6 MB, free: 12.44 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.01817, allocations: 104.9 kB / 381.7 MB, free: 12.33 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.01927, allocations: 0.8682 MB / 382.5 MB, free: 11.43 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.418e-05/0.01933, allocations: 126.8 kB / 382.7 MB, free: 11.29 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.0194, allocations: 35.27 kB / 382.7 MB, free: 11.25 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.01949, allocations: 87.38 kB / 382.8 MB, free: 11.17 MB / 378.8 MB Notification: Performance of SimCode: time 9.12e-07/0.01949, allocations: 0 / 382.8 MB, free: 11.17 MB / 378.8 MB Notification: Performance of Templates: time 0.006389/0.02588, allocations: 5.34 MB / 388.1 MB, free: 5.898 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.038212727755308]