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.0009246/0.0009246, 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.0009144/0.0009144, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.8664/0.8664, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.6837/0.6837, allocations: 88.08 MB / 349.9 MB, free: 11.84 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.192e-06/1.192e-06, allocations: 0 / 398.9 MB, free: 13.3 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.387e-05, allocations: 2.312 kB / 398.9 MB, free: 13.3 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001605/0.001619, allocations: 1.266 MB / 400.2 MB, free: 12.02 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.001799, allocations: 43.8 kB / 400.2 MB, free: 11.98 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.001832, allocations: 4 kB / 400.2 MB, free: 11.98 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 8.692e-05/0.001919, allocations: 3.984 kB / 400.2 MB, free: 11.97 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.001988, allocations: 3.938 kB / 400.2 MB, free: 11.97 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.002149, allocations: 31.94 kB / 400.2 MB, free: 11.94 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.002437, allocations: 443.4 kB / 400.7 MB, free: 11.5 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.00247, allocations: 0 / 400.7 MB, free: 11.5 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.002611, allocations: 207.7 kB / 400.9 MB, free: 11.3 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.002766, allocations: 135.8 kB / 401 MB, free: 11.17 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.002803, allocations: 23.94 kB / 401 MB, free: 11.14 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.002833, allocations: 24 kB / 401.1 MB, free: 11.12 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.002924, allocations: 131.7 kB / 401.2 MB, free: 10.99 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.003012, allocations: 123.7 kB / 401.3 MB, free: 10.87 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.003175, allocations: 227.2 kB / 401.5 MB, free: 10.65 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003178, allocations: 7.938 kB / 401.5 MB, free: 10.64 MB / 378.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003178, allocations: 0 / 401.5 MB, free: 10.64 MB / 378.8 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003181, allocations: 0 / 401.5 MB, free: 10.64 MB / 378.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.0007137/0.003895, allocations: 0.5828 MB / 402.1 MB, free: 10.03 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.003923, allocations: 8.031 kB / 402.1 MB, free: 10.02 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.003982, allocations: 48.91 kB / 402.2 MB, free: 9.973 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.004136, allocations: 153.5 kB / 402.3 MB, free: 9.797 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.004155, allocations: 24.88 kB / 402.3 MB, free: 9.773 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.004218, allocations: 60.27 kB / 402.4 MB, free: 9.715 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.004422, allocations: 196.4 kB / 402.6 MB, free: 9.516 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.004437, allocations: 12.14 kB / 402.6 MB, free: 9.504 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.004459, allocations: 12.38 kB / 402.6 MB, free: 9.492 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004465, allocations: 4.375 kB / 402.6 MB, free: 9.488 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.004584, allocations: 91.38 kB / 402.7 MB, free: 9.398 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.004859, allocations: 242.1 kB / 403 MB, free: 9.145 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.005212, allocations: 284.4 kB / 403.2 MB, free: 8.863 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.005309, allocations: 86.33 kB / 403.3 MB, free: 8.777 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.005334, allocations: 12.44 kB / 403.3 MB, free: 8.762 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.005357, allocations: 43.06 kB / 403.4 MB, free: 8.711 MB / 378.8 MB Notification: Performance of pre-optimization done (n=60): time 1.453e-06/0.005358, allocations: 0 / 403.4 MB, free: 8.711 MB / 378.8 MB Notification: Performance of matching and sorting (n=60): time 0.001433/0.006792, allocations: 0.7109 MB / 404.1 MB, free: 7.988 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.006822, allocations: 63.91 kB / 404.1 MB, free: 7.914 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.006873, allocations: 110.7 kB / 404.2 MB, free: 7.793 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.006901, allocations: 45.7 kB / 404.3 MB, free: 7.742 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.006931, allocations: 93.44 kB / 404.4 MB, free: 7.648 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.00706, allocations: 253.8 kB / 404.6 MB, free: 7.398 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.00717, allocations: 138.6 kB / 404.8 MB, free: 7.254 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.007256, allocations: 346.7 kB / 405.1 MB, free: 6.906 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.007344, allocations: 81.89 kB / 405.2 MB, free: 6.828 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.007511, allocations: 252.3 kB / 405.4 MB, free: 6.52 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.007814, allocations: 378.2 kB / 405.8 MB, free: 6.086 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.007819, allocations: 4 kB / 405.8 MB, free: 6.082 MB / 378.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006646/0.008483, allocations: 0.5445 MB / 406.4 MB, free: 5.527 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.008498, allocations: 9.875 kB / 406.4 MB, free: 5.52 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008506, allocations: 4 kB / 406.4 MB, free: 5.516 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.009067, allocations: 235.4 kB / 406.6 MB, free: 5.281 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.009336, allocations: 159.8 kB / 406.8 MB, free: 5.125 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.01096, allocations: 1.948 MB / 408.7 MB, free: 3.082 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01107, allocations: 55.58 kB / 408.8 MB, free: 3.027 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.01109, allocations: 24 kB / 408.8 MB, free: 3.004 MB / 378.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.633e-05/0.01119, allocations: 156.4 kB / 408.9 MB, free: 2.84 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.01123, allocations: 35.97 kB / 409 MB, free: 2.805 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.01128, allocations: 57.97 kB / 409 MB, free: 2.75 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01128, allocations: 8 kB / 409 MB, free: 2.742 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01129, allocations: 7.938 kB / 409 MB, free: 2.734 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01129, allocations: 12.02 kB / 409 MB, free: 2.723 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.01151, allocations: 230.1 kB / 409.3 MB, free: 2.477 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01151, allocations: 0 / 409.3 MB, free: 2.477 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.0119, allocations: 131.9 kB / 409.4 MB, free: 2.348 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/0.0124, allocations: 227.4 kB / 409.6 MB, free: 2.121 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.01244, allocations: 23.97 kB / 409.6 MB, free: 2.098 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.01394, allocations: 1.928 MB / 411.6 MB, free: 72 kB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01394, allocations: 0 / 411.6 MB, free: 72 kB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.01469, allocations: 0.6983 MB / 412.3 MB, free: 15.35 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.01471, allocations: 31.73 kB / 412.3 MB, free: 15.32 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.01474, allocations: 19.98 kB / 412.3 MB, free: 15.3 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.01482, allocations: 15.94 kB / 412.3 MB, free: 15.29 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.01487, allocations: 44.41 kB / 412.4 MB, free: 15.24 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01489, allocations: 15.98 kB / 412.4 MB, free: 15.23 MB / 394.8 MB Notification: Performance of sorting global known variables: time 9.919e-06/0.0149, allocations: 8.859 kB / 412.4 MB, free: 15.21 MB / 394.8 MB Notification: Performance of sort global known variables: time 3e-08/0.0149, allocations: 0 / 412.4 MB, free: 15.21 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002411/0.01514, allocations: 140 kB / 412.5 MB, free: 15.08 MB / 394.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 9.983e-05/0.01524, allocations: 108.3 kB / 412.7 MB, free: 14.96 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.01591, allocations: 0.5924 MB / 413.2 MB, free: 14.36 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01591, allocations: 0 / 413.2 MB, free: 14.36 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.01635, allocations: 437.3 kB / 413.7 MB, free: 13.91 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.01646, allocations: 20.19 kB / 413.7 MB, free: 13.89 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.01734, allocations: 1.096 MB / 414.8 MB, free: 12.77 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.0174, allocations: 134.8 kB / 414.9 MB, free: 12.61 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.01746, allocations: 31.28 kB / 414.9 MB, free: 12.58 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.01755, allocations: 87.36 kB / 415 MB, free: 12.5 MB / 394.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01755, allocations: 0 / 415 MB, free: 12.5 MB / 394.8 MB Notification: Performance of Templates: time 0.006457/0.024, allocations: 5.56 MB / 420.6 MB, free: 7 MB / 394.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.0264058159664273]