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.0009701/0.0009701, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001516/0.001516, allocations: 172.2 kB / 24.82 MB, free: 8.922 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.9318/0.9318, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6315/0.6315, allocations: 88.08 MB / 349.9 MB, free: 14.14 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_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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 452.1 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.83e-05, allocations: 3.297 kB / 452.1 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001392/0.001411, allocations: 1.273 MB / 453.4 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.001582, allocations: 38.89 kB / 453.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.001619, allocations: 2.812 kB / 453.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.839e-05/0.001708, allocations: 3.938 kB / 453.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.001776, allocations: 18.2 kB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.001937, allocations: 19.45 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.002188, allocations: 455.3 kB / 453.9 MB, free: 32.06 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.002226, allocations: 2.594 kB / 453.9 MB, free: 32.06 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.002359, allocations: 196.3 kB / 454.1 MB, free: 32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.0025, allocations: 140.4 kB / 454.2 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.002542, allocations: 22.59 kB / 454.3 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.00258, allocations: 22.72 kB / 454.3 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.002658, allocations: 134.1 kB / 454.4 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.002735, allocations: 118.9 kB / 454.5 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.002877, allocations: 224.2 kB / 454.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002879, allocations: 2.594 kB / 454.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00288, allocations: 0 / 454.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002883, allocations: 4 kB / 454.8 MB, free: 31.83 MB / 410.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.0006647/0.003548, allocations: 0.7165 MB / 455.5 MB, free: 31.34 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.00358, allocations: 11.25 kB / 455.5 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.003639, allocations: 45.92 kB / 455.5 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.003764, allocations: 171.5 kB / 455.7 MB, free: 31.17 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.003779, allocations: 27.22 kB / 455.7 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.003826, allocations: 57.45 kB / 455.8 MB, free: 31.13 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004007, allocations: 194.5 kB / 456 MB, free: 31.08 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.00402, allocations: 6.641 kB / 456 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.004036, allocations: 11 kB / 456 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.004043, allocations: 5.844 kB / 456 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.004152, allocations: 109 kB / 456.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.004383, allocations: 255.5 kB / 456.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.004724, allocations: 332.8 kB / 456.7 MB, free: 30.74 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.004817, allocations: 104.4 kB / 456.8 MB, free: 30.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.004841, allocations: 9.156 kB / 456.8 MB, free: 30.71 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.004855, allocations: 44.12 kB / 456.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 1.433e-06/0.004857, allocations: 0 / 456.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001485/0.006342, allocations: 0.7972 MB / 457.6 MB, free: 30.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.006361, allocations: 57.44 kB / 457.7 MB, free: 30.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.019e-05/0.006402, allocations: 176.2 kB / 457.9 MB, free: 30.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.006422, allocations: 40.48 kB / 457.9 MB, free: 30.21 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.006444, allocations: 143 kB / 458 MB, free: 30.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.006538, allocations: 269.9 kB / 458.3 MB, free: 29.86 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.006643, allocations: 166.4 kB / 458.5 MB, free: 29.76 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.006706, allocations: 0.5309 MB / 459 MB, free: 29.24 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.006789, allocations: 82.86 kB / 459.1 MB, free: 29.24 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.00695, allocations: 331.8 kB / 459.4 MB, free: 28.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.007247, allocations: 457.7 kB / 459.8 MB, free: 28.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.007251, allocations: 0 / 459.8 MB, free: 28.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007303/0.007981, allocations: 0.6457 MB / 460.5 MB, free: 28.4 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.007998, allocations: 14.34 kB / 460.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.008007, allocations: 2.844 kB / 460.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.008586, allocations: 249.1 kB / 460.7 MB, free: 28.35 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.008847, allocations: 163.5 kB / 460.9 MB, free: 28.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.01052, allocations: 2.522 MB / 463.4 MB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01064, allocations: 58.12 kB / 463.5 MB, free: 26.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.01066, allocations: 22.62 kB / 463.5 MB, free: 26.31 MB / 410.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.203e-05/0.01076, allocations: 195.9 kB / 463.7 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.0108, allocations: 43.67 kB / 463.7 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.01085, allocations: 61.12 kB / 463.8 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01086, allocations: 9.688 kB / 463.8 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.01086, allocations: 2.969 kB / 463.8 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.01087, allocations: 3.234 kB / 463.8 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.01107, allocations: 243.5 kB / 464.1 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01108, allocations: 0 / 464.1 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.01147, allocations: 131.5 kB / 464.2 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00055/0.01202, allocations: 245.5 kB / 464.4 MB, free: 25.79 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.01206, allocations: 32.92 kB / 464.5 MB, free: 25.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.0136, allocations: 2.517 MB / 467 MB, free: 23.79 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0136, allocations: 2.562 kB / 467 MB, free: 23.79 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.01444, allocations: 0.7663 MB / 467.7 MB, free: 23.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.01446, allocations: 32.17 kB / 467.8 MB, free: 23.51 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.0145, allocations: 27.7 kB / 467.8 MB, free: 23.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.01458, allocations: 10.88 kB / 467.8 MB, free: 23.49 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01464, allocations: 47.81 kB / 467.9 MB, free: 23.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.01465, allocations: 17.38 kB / 467.9 MB, free: 23.47 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.993e-05/0.01467, allocations: 126.1 kB / 468 MB, free: 23.35 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01467, allocations: 0 / 468 MB, free: 23.35 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002805/0.01495, allocations: 142.4 kB / 468.1 MB, free: 23.33 MB / 410.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.0001321/0.01509, allocations: 128.8 kB / 468.3 MB, free: 23.22 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.01586, allocations: 0.6777 MB / 468.9 MB, free: 22.94 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01586, allocations: 0 / 468.9 MB, free: 22.94 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.01636, allocations: 0.5053 MB / 469.4 MB, free: 22.69 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01655, allocations: 33.16 kB / 469.5 MB, free: 22.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.01788, allocations: 1.942 MB / 471.4 MB, free: 21.26 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.01793, allocations: 127.5 kB / 471.5 MB, free: 21.19 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.01799, allocations: 32.56 kB / 471.6 MB, free: 21.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.01806, allocations: 105.5 kB / 471.7 MB, free: 21.11 MB / 410.8 MB Notification: Performance of SimCode: time 6.92e-07/0.01806, allocations: 0 / 471.7 MB, free: 21.11 MB / 410.8 MB Notification: Performance of Templates: time 0.006597/0.02466, allocations: 5.555 MB / 477.2 MB, free: 20.66 MB / 410.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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7133904518559575]