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.001338/0.001338, allocations: 76.41 kB / 21.69 MB, free: 2.859 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.00135/0.00135, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.6401/0.6401, allocations: 88.08 MB / 349.9 MB, free: 14.23 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_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.643e-06/1.643e-06, allocations: 0 / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.341e-05, allocations: 2.312 kB / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002274/0.002308, allocations: 1.273 MB / 452.9 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000226/0.002534, allocations: 38.17 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.002584, allocations: 0 / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.002698, allocations: 7.125 kB / 452.9 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.002778, allocations: 10.14 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.002987, allocations: 23.75 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.003292, allocations: 452.1 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.003352, allocations: 7.062 kB / 453.4 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.003542, allocations: 197.8 kB / 453.6 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.00375, allocations: 135.4 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.0038, allocations: 23 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.712e-05/0.003837, allocations: 22.25 kB / 453.8 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.00395, allocations: 132.6 kB / 453.9 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.00406, allocations: 117.6 kB / 454 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004261, allocations: 236 kB / 454.3 MB, free: 32.06 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.004266, allocations: 0 / 454.3 MB, free: 32.06 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.953e-06/0.004268, allocations: 0 / 454.3 MB, free: 32.06 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.004274, allocations: 0 / 454.3 MB, free: 32.06 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.001053/0.005327, allocations: 0.802 MB / 455.1 MB, free: 31.56 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.005378, allocations: 11.47 kB / 455.1 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.005473, allocations: 46.52 kB / 455.1 MB, free: 31.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.005683, allocations: 173.6 kB / 455.3 MB, free: 31.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.005711, allocations: 27.09 kB / 455.3 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.005781, allocations: 59.05 kB / 455.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.006056, allocations: 216.3 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.006073, allocations: 4.141 kB / 455.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.006097, allocations: 18.81 kB / 455.6 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.006109, allocations: 10 kB / 455.6 MB, free: 31.27 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.00628, allocations: 127 kB / 455.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.006616, allocations: 271.8 kB / 456 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.007194, allocations: 350.1 kB / 456.4 MB, free: 30.92 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.007348, allocations: 114.7 kB / 456.5 MB, free: 30.88 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.007377, allocations: 12.42 kB / 456.5 MB, free: 30.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.007401, allocations: 44.64 kB / 456.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 3.056e-06/0.007404, allocations: 0 / 456.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001916/0.00932, allocations: 0.8599 MB / 457.4 MB, free: 30.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.009359, allocations: 59.81 kB / 457.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.009443, allocations: 176.8 kB / 457.6 MB, free: 30.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.009471, allocations: 40.23 kB / 457.7 MB, free: 30.35 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.009502, allocations: 139 kB / 457.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.009651, allocations: 274.9 kB / 458.1 MB, free: 30 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.009786, allocations: 156 kB / 458.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.009868, allocations: 0.528 MB / 458.7 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.01002, allocations: 114.8 kB / 458.9 MB, free: 29.38 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.01027, allocations: 355.3 kB / 459.2 MB, free: 29.09 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.01072, allocations: 0.491 MB / 459.7 MB, free: 28.71 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.01072, allocations: 0 / 459.7 MB, free: 28.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001119/0.01184, allocations: 0.7083 MB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.01188, allocations: 9.938 kB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.0119, allocations: 8.453 kB / 460.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/0.01272, allocations: 255 kB / 460.7 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.01304, allocations: 159.8 kB / 460.8 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.01522, allocations: 2.675 MB / 463.5 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.01538, allocations: 57.84 kB / 463.6 MB, free: 26.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.0154, allocations: 27.12 kB / 463.6 MB, free: 26.32 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 0.0001241/0.01553, allocations: 200.8 kB / 463.8 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.01559, allocations: 46.45 kB / 463.8 MB, free: 26.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.01566, allocations: 60.91 kB / 463.9 MB, free: 26.05 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01567, allocations: 9.688 kB / 463.9 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/0.01569, allocations: 2.969 kB / 463.9 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.0157, allocations: 7.266 kB / 463.9 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.01595, allocations: 260.7 kB / 464.2 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.01596, allocations: 0 / 464.2 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.01642, allocations: 128.2 kB / 464.3 MB, free: 25.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006678/0.01709, allocations: 254 kB / 464.5 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.01714, allocations: 32.19 kB / 464.6 MB, free: 25.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.01935, allocations: 2.65 MB / 467.2 MB, free: 23.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01935, allocations: 0 / 467.2 MB, free: 23.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.02054, allocations: 0.8198 MB / 468 MB, free: 23.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.02058, allocations: 30.52 kB / 468.1 MB, free: 23.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.02063, allocations: 27.02 kB / 468.1 MB, free: 23.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.02073, allocations: 8 kB / 468.1 MB, free: 23.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.02083, allocations: 48.17 kB / 468.1 MB, free: 23.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.02086, allocations: 16.16 kB / 468.2 MB, free: 23.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.02091, allocations: 119.2 kB / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02091, allocations: 4 kB / 468.3 MB, free: 23.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005215/0.02143, allocations: 145.6 kB / 468.4 MB, free: 23.24 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.0001893/0.02162, allocations: 134.9 kB / 468.5 MB, free: 23.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.02271, allocations: 0.7265 MB / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.02271, allocations: 0 / 469.3 MB, free: 22.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.02331, allocations: 0.5269 MB / 469.8 MB, free: 22.56 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.02355, allocations: 26.11 kB / 469.8 MB, free: 22.54 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.02544, allocations: 1.963 MB / 471.8 MB, free: 21.12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.672e-05/0.02553, allocations: 132.3 kB / 471.9 MB, free: 21.04 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.02569, allocations: 119.2 kB / 472 MB, free: 21.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.02574, allocations: 26.88 kB / 472.1 MB, free: 21.02 MB / 410.8 MB Notification: Performance of SimCode: time 1.563e-06/0.02574, allocations: 0 / 472.1 MB, free: 21.02 MB / 410.8 MB Notification: Performance of Templates: time 0.008597/0.03434, allocations: 5.372 MB / 477.4 MB, free: 20.53 MB / 410.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.832530135056004]