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.00171/0.00171, allocations: 84.22 kB / 21.19 MB, free: 3.383 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.001502/0.001502, allocations: 161 kB / 24.55 MB, free: 16 kB / 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 1.129/1.129, allocations: 177.1 MB / 205 MB, free: 5.281 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.6404/0.6404, allocations: 88.07 MB / 349.6 MB, free: 14.21 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.713e-06/1.713e-06, allocations: 0 / 451.6 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.351e-05, allocations: 2.312 kB / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001278/0.001292, allocations: 1.261 MB / 452.9 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.00146, allocations: 44.5 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.001499, allocations: 2.656 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.001612, allocations: 3.938 kB / 453 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.001696, allocations: 13.81 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.001908, allocations: 30.52 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.002084, allocations: 229.7 kB / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.002121, allocations: 10.12 kB / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.0022, allocations: 98.44 kB / 453.3 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.002291, allocations: 74.09 kB / 453.4 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.002327, allocations: 11.31 kB / 453.4 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.002349, allocations: 15.41 kB / 453.4 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.002409, allocations: 67.02 kB / 453.5 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.00246, allocations: 62.17 kB / 453.6 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.002563, allocations: 118.5 kB / 453.7 MB, free: 32.24 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002565, allocations: 0 / 453.7 MB, free: 32.24 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002566, allocations: 0 / 453.7 MB, free: 32.24 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.00257, allocations: 0 / 453.7 MB, free: 32.24 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005348/0.003104, allocations: 0.552 MB / 454.2 MB, free: 31.82 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003138, allocations: 10.62 kB / 454.2 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.003193, allocations: 24.41 kB / 454.3 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.003318, allocations: 150.3 kB / 454.4 MB, free: 31.67 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003333, allocations: 17.03 kB / 454.4 MB, free: 31.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.003373, allocations: 31.53 kB / 454.5 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.003531, allocations: 118.2 kB / 454.6 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.003544, allocations: 4.188 kB / 454.6 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.00356, allocations: 7.031 kB / 454.6 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.003567, allocations: 2.969 kB / 454.6 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.003657, allocations: 70.31 kB / 454.7 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.003839, allocations: 193.3 kB / 454.8 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.004161, allocations: 195.1 kB / 455 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.004232, allocations: 67.28 kB / 455.1 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.004248, allocations: 5.688 kB / 455.1 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.004265, allocations: 38.14 kB / 455.1 MB, free: 31.25 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.182e-06/0.004266, allocations: 2.844 kB / 455.1 MB, free: 31.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.000803/0.005069, allocations: 408 kB / 455.5 MB, free: 31.13 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.005091, allocations: 54.09 kB / 455.6 MB, free: 31.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.005142, allocations: 166.6 kB / 455.8 MB, free: 30.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.005156, allocations: 32.55 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.00518, allocations: 138.3 kB / 455.9 MB, free: 30.73 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.005251, allocations: 135.5 kB / 456.1 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.005316, allocations: 92.22 kB / 456.1 MB, free: 30.56 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.005372, allocations: 0.5011 MB / 456.6 MB, free: 30.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.005445, allocations: 63.16 kB / 456.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.00556, allocations: 190.2 kB / 456.9 MB, free: 29.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.005769, allocations: 254.5 kB / 457.1 MB, free: 29.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.005772, allocations: 0 / 457.1 MB, free: 29.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004318/0.006204, allocations: 386.7 kB / 457.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.006217, allocations: 7.188 kB / 457.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.006223, allocations: 2.969 kB / 457.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.006579, allocations: 128.1 kB / 457.7 MB, free: 29.52 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.006721, allocations: 83.45 kB / 457.7 MB, free: 29.52 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.007786, allocations: 2.14 MB / 459.9 MB, free: 27.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.007845, allocations: 28 kB / 459.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.007859, allocations: 14.34 kB / 459.9 MB, free: 27.61 MB / 410.8 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 6.177e-05/0.00792, allocations: 177.8 kB / 460.1 MB, free: 27.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.007943, allocations: 20.89 kB / 460.1 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.007968, allocations: 32.73 kB / 460.1 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.00797, allocations: 2.594 kB / 460.1 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007973, allocations: 6.906 kB / 460.2 MB, free: 27.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007978, allocations: 0 / 460.2 MB, free: 27.39 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.008094, allocations: 186.9 kB / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008096, allocations: 0 / 460.3 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.008309, allocations: 74.48 kB / 460.4 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.008609, allocations: 119.3 kB / 460.5 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.008633, allocations: 17.08 kB / 460.5 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009771/0.00961, allocations: 2.143 MB / 462.7 MB, free: 25.28 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009611, allocations: 0 / 462.7 MB, free: 25.28 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.01006, allocations: 441.7 kB / 463.1 MB, free: 25.09 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.01007, allocations: 10.73 kB / 463.1 MB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01009, allocations: 13.11 kB / 463.1 MB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.01013, allocations: 6.75 kB / 463.1 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.01017, allocations: 29.75 kB / 463.2 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.01018, allocations: 5.75 kB / 463.2 MB, free: 25.07 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.69e-05/0.0102, allocations: 122.4 kB / 463.3 MB, free: 24.95 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0102, allocations: 0 / 463.3 MB, free: 24.95 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001777/0.01038, allocations: 69.38 kB / 463.4 MB, free: 24.94 MB / 410.8 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 7.517e-05/0.01045, allocations: 119.1 kB / 463.5 MB, free: 24.83 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004691/0.01092, allocations: 452.1 kB / 463.9 MB, free: 24.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01092, allocations: 2.469 kB / 463.9 MB, free: 24.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.01117, allocations: 346.1 kB / 464.3 MB, free: 24.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.01132, allocations: 18.09 kB / 464.3 MB, free: 24.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.0121, allocations: 1.017 MB / 465.3 MB, free: 23.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.01214, allocations: 94.27 kB / 465.4 MB, free: 23.52 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.0122, allocations: 54.88 kB / 465.4 MB, free: 23.52 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.01224, allocations: 19.19 kB / 465.5 MB, free: 23.51 MB / 410.8 MB Notification: Performance of SimCode: time 8.62e-07/0.01224, allocations: 0 / 465.5 MB, free: 23.51 MB / 410.8 MB Notification: Performance of Templates: time 0.004351/0.01659, allocations: 2.957 MB / 468.4 MB, free: 23.23 MB / 410.8 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: 4.085537317208946]