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.001385/0.001385, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001671/0.001671, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9986/0.9986, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6048/0.6048, allocations: 88.08 MB / 349.9 MB, free: 14.13 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.523e-06/1.523e-06, allocations: 3.938 kB / 398.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.277e-05, allocations: 2.312 kB / 398.9 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001793/0.001816, allocations: 1.278 MB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.002003, allocations: 35.88 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.002032, allocations: 4 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.382e-05/0.002116, allocations: 3.938 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.002182, allocations: 7.969 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.002336, allocations: 27.95 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.00252, allocations: 235.6 kB / 400.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.002554, allocations: 4 kB / 400.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.002651, allocations: 107.9 kB / 400.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.002751, allocations: 67.88 kB / 400.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.002777, allocations: 12 kB / 400.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.002799, allocations: 12 kB / 400.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.00286, allocations: 67.84 kB / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.00291, allocations: 55.88 kB / 400.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003021, allocations: 123.5 kB / 400.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003023, allocations: 0 / 400.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003024, allocations: 0 / 400.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.003027, allocations: 0 / 400.9 MB, free: 11.5 MB / 378.7 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.0004934/0.00352, allocations: 405.2 kB / 401.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.003559, allocations: 16.03 kB / 401.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.003603, allocations: 20.92 kB / 401.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.003732, allocations: 133.6 kB / 401.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.003747, allocations: 16.38 kB / 401.5 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.003791, allocations: 40.3 kB / 401.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.003924, allocations: 110.9 kB / 401.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.003935, allocations: 192 / 401.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.00395, allocations: 4.375 kB / 401.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003956, allocations: 4.375 kB / 401.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.004022, allocations: 59.81 kB / 401.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.004205, allocations: 139.8 kB / 401.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.004494, allocations: 162.4 kB / 402 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.004555, allocations: 44.84 kB / 402 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.004574, allocations: 4 kB / 402 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.004596, allocations: 39.31 kB / 402.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.004597, allocations: 0 / 402.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006722/0.005269, allocations: 325.8 kB / 402.4 MB, free: 9.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.005299, allocations: 55.41 kB / 402.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.005353, allocations: 110.7 kB / 402.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.005375, allocations: 37.7 kB / 402.6 MB, free: 9.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.005399, allocations: 84.8 kB / 402.7 MB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.005475, allocations: 122.9 kB / 402.8 MB, free: 9.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.005547, allocations: 78.14 kB / 402.9 MB, free: 9.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.005625, allocations: 326.8 kB / 403.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.005672, allocations: 44.92 kB / 403.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.005764, allocations: 138.3 kB / 403.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.005934, allocations: 205 kB / 403.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005936, allocations: 0 / 403.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000387/0.006323, allocations: 297 kB / 403.8 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006339, allocations: 4 kB / 403.9 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.006346, allocations: 4 kB / 403.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.006671, allocations: 119.6 kB / 404 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.006831, allocations: 79.91 kB / 404 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.007975, allocations: 1.512 MB / 405.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.008053, allocations: 27.78 kB / 405.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.008066, allocations: 8 kB / 405.6 MB, free: 6.453 MB / 378.7 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 9.072e-05/0.008156, allocations: 144.5 kB / 405.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.008178, allocations: 15.98 kB / 405.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.008214, allocations: 37.31 kB / 405.8 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008216, allocations: 0 / 405.8 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.008224, allocations: 4 kB / 405.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008227, allocations: 0 / 405.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.008364, allocations: 157.6 kB / 405.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008366, allocations: 0 / 405.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.008579, allocations: 63.97 kB / 406 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/0.008874, allocations: 119.7 kB / 406.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.008899, allocations: 11.98 kB / 406.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.00989, allocations: 1.514 MB / 407.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009891, allocations: 4.031 kB / 407.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.01029, allocations: 373.1 kB / 408 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.0103, allocations: 15.84 kB / 408 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01033, allocations: 15.98 kB / 408.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.01037, allocations: 7.938 kB / 408.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.01042, allocations: 23.95 kB / 408.1 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01043, allocations: 7.984 kB / 408.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.115e-05/0.01044, allocations: 8.859 kB / 408.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01044, allocations: 0 / 408.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.01064, allocations: 75.94 kB / 408.2 MB, free: 3.715 MB / 378.7 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 0.0001066/0.01075, allocations: 94.16 kB / 408.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.01117, allocations: 348.5 kB / 408.6 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01118, allocations: 4.125 kB / 408.6 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.01142, allocations: 267.2 kB / 408.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.01153, allocations: 18.88 kB / 408.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01211, allocations: 0.5947 MB / 409.5 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.522e-05/0.01216, allocations: 88.94 kB / 409.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.0122, allocations: 21.95 kB / 409.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.01226, allocations: 67.36 kB / 409.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01226, allocations: 0 / 409.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of Templates: time 0.004543/0.0168, allocations: 3.005 MB / 412.7 MB, free: 15.2 MB / 394.7 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.175878955051303]