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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002652, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001151/0.001151, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002705, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9279/0.9279, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08976/1.018, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.6867/0.6867, allocations: 88.08 MB / 332.1 MB, free: 14.19 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06373/0.7504, allocations: 32.92 MB / 365 MB, free: 13.44 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="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="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.944e-06/1.944e-06, allocations: 0 / 366.3 MB, free: 12.19 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.551e-05, allocations: 3.188 kB / 366.3 MB, free: 12.18 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002294/0.00232, allocations: 1.313 MB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.002442, allocations: 43.8 kB / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.002474, allocations: 7.938 kB / 367.6 MB, free: 10.81 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.002517, allocations: 0 / 367.6 MB, free: 10.81 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.00257, allocations: 3.984 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002705, allocations: 23.95 kB / 367.7 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.006135, allocations: 479.4 kB / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.006189, allocations: 7.984 kB / 368.1 MB, free: 10.3 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.006446, allocations: 203.8 kB / 368.3 MB, free: 10.11 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.006681, allocations: 139.7 kB / 368.5 MB, free: 9.969 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.006737, allocations: 20 kB / 368.5 MB, free: 9.949 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.006784, allocations: 24 kB / 368.5 MB, free: 9.926 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.006888, allocations: 87.83 kB / 368.6 MB, free: 9.84 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.006998, allocations: 71.94 kB / 368.7 MB, free: 9.77 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.007219, allocations: 215.2 kB / 368.9 MB, free: 9.559 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.875e-05/0.007237, allocations: 0 / 368.9 MB, free: 9.559 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007239, allocations: 7.938 kB / 368.9 MB, free: 9.551 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.007257, allocations: 0 / 368.9 MB, free: 9.551 MB / 362.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.001066/0.008324, allocations: 0.6456 MB / 369.5 MB, free: 8.875 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.008359, allocations: 8.031 kB / 369.5 MB, free: 8.867 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.008437, allocations: 40.91 kB / 369.6 MB, free: 8.828 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.008634, allocations: 157.5 kB / 369.7 MB, free: 8.648 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.00866, allocations: 28.88 kB / 369.8 MB, free: 8.621 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.008737, allocations: 56.27 kB / 369.8 MB, free: 8.566 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.01203, allocations: 200.4 kB / 370 MB, free: 8.363 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.01205, allocations: 8.141 kB / 370 MB, free: 8.355 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.01208, allocations: 8.375 kB / 370 MB, free: 8.348 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01209, allocations: 8.375 kB / 370 MB, free: 8.34 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.01225, allocations: 91.38 kB / 370.1 MB, free: 8.254 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.01264, allocations: 238.1 kB / 370.4 MB, free: 8.004 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.01318, allocations: 292.5 kB / 370.6 MB, free: 7.711 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.01332, allocations: 90.33 kB / 370.7 MB, free: 7.621 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.01335, allocations: 12.5 kB / 370.7 MB, free: 7.605 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.01338, allocations: 43 kB / 370.8 MB, free: 7.555 MB / 362.8 MB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.01338, allocations: 0 / 370.8 MB, free: 7.555 MB / 362.8 MB Notification: Performance of matching and sorting (n=60): time 0.005023/0.0184, allocations: 0.7032 MB / 371.5 MB, free: 6.84 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01844, allocations: 59.91 kB / 371.5 MB, free: 6.77 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.0185, allocations: 114.7 kB / 371.7 MB, free: 6.645 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.01854, allocations: 41.7 kB / 371.7 MB, free: 6.598 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.01857, allocations: 93.42 kB / 371.8 MB, free: 6.504 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.01873, allocations: 253.8 kB / 372 MB, free: 6.254 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.01888, allocations: 138.6 kB / 372.2 MB, free: 6.113 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01899, allocations: 354.7 kB / 372.5 MB, free: 5.758 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.01912, allocations: 73.95 kB / 372.6 MB, free: 5.688 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.01933, allocations: 248.3 kB / 372.8 MB, free: 5.379 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.01987, allocations: 382.2 kB / 373.2 MB, free: 4.941 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.01988, allocations: 0 / 373.2 MB, free: 4.941 MB / 362.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006797/0.02056, allocations: 0.5523 MB / 373.8 MB, free: 4.383 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.02057, allocations: 8 kB / 373.8 MB, free: 4.375 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.02058, allocations: 4 kB / 373.8 MB, free: 4.371 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/0.0237, allocations: 231.4 kB / 374 MB, free: 4.141 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.0241, allocations: 231.6 kB / 374.2 MB, free: 3.926 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.02586, allocations: 1.995 MB / 376.2 MB, free: 1.836 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.02605, allocations: 59.58 kB / 376.3 MB, free: 1.777 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.02609, allocations: 24 kB / 376.3 MB, free: 1.754 MB / 362.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.000136/0.02623, allocations: 156.4 kB / 376.4 MB, free: 1.59 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.02629, allocations: 36.2 kB / 376.5 MB, free: 1.555 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.165e-05/0.02638, allocations: 61.91 kB / 376.5 MB, free: 1.5 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.02639, allocations: 11.98 kB / 376.6 MB, free: 1.488 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.0264, allocations: 4 kB / 376.6 MB, free: 1.484 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02641, allocations: 3.984 kB / 376.6 MB, free: 1.48 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.02689, allocations: 230.1 kB / 376.8 MB, free: 1.234 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02689, allocations: 0 / 376.8 MB, free: 1.234 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.0274, allocations: 195.5 kB / 377 MB, free: 1.051 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.02742, allocations: 31.72 kB / 377 MB, free: 1.02 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.02794, allocations: 230.1 kB / 377.2 MB, free: 0.793 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.02797, allocations: 31.91 kB / 377.3 MB, free: 0.7617 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.02956, allocations: 1.954 MB / 379.2 MB, free: 14.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02957, allocations: 0 / 379.2 MB, free: 14.71 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.03028, allocations: 0.6982 MB / 379.9 MB, free: 13.99 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.03032, allocations: 31.97 kB / 380 MB, free: 13.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.0304, allocations: 12 kB / 380 MB, free: 13.95 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.03045, allocations: 44.41 kB / 380 MB, free: 13.91 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.03047, allocations: 12 kB / 380 MB, free: 13.89 MB / 378.8 MB Notification: Performance of sorting global known variables: time 1.079e-05/0.03048, allocations: 8.844 kB / 380 MB, free: 13.88 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.1e-08/0.03048, allocations: 0 / 380 MB, free: 13.88 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00025/0.03073, allocations: 148 kB / 380.2 MB, free: 13.74 MB / 378.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.0001071/0.03083, allocations: 108.3 kB / 380.3 MB, free: 13.62 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.0315, allocations: 0.5914 MB / 380.9 MB, free: 13.02 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.0315, allocations: 0 / 380.9 MB, free: 13.02 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.03193, allocations: 446.5 kB / 381.3 MB, free: 12.57 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.03206, allocations: 49.23 kB / 381.4 MB, free: 12.52 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.03315, allocations: 0.8783 MB / 382.2 MB, free: 11.62 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.03321, allocations: 126.8 kB / 382.4 MB, free: 11.47 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.03327, allocations: 31.28 kB / 382.4 MB, free: 11.45 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.03335, allocations: 91.36 kB / 382.5 MB, free: 11.36 MB / 378.8 MB Notification: Performance of SimCode: time 8.01e-07/0.03335, allocations: 0 / 382.5 MB, free: 11.36 MB / 378.8 MB Notification: Performance of Templates: time 0.006682/0.04004, allocations: 5.641 MB / 388.1 MB, free: 5.781 MB / 378.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 -ignoreHideResult -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.226264452561736]