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.001295/0.001295, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.003029, 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.001232/0.001232, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002797, 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.993/0.993, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.7099/0.7099, allocations: 88.08 MB / 332.1 MB, free: 14.19 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05767/0.7676, allocations: 32.93 MB / 365 MB, free: 13.45 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_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="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.562e-06/1.562e-06, allocations: 0 / 366.2 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.501e-05, allocations: 2.312 kB / 366.2 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002643/0.002668, allocations: 1.325 MB / 367.6 MB, free: 10.87 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.002769, allocations: 39.88 kB / 367.6 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.002794, allocations: 0 / 367.6 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.002833, allocations: 7.922 kB / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.002887, allocations: 11.94 kB / 367.6 MB, free: 10.81 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.00303, allocations: 23.94 kB / 367.7 MB, free: 10.79 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.003298, allocations: 247.7 kB / 367.9 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.003339, allocations: 0 / 367.9 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.003501, allocations: 111.8 kB / 368 MB, free: 10.43 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.003642, allocations: 63.89 kB / 368.1 MB, free: 10.37 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.003679, allocations: 12 kB / 368.1 MB, free: 10.36 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.003707, allocations: 12 kB / 368.1 MB, free: 10.35 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.003777, allocations: 47.91 kB / 368.1 MB, free: 10.3 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.003841, allocations: 35.94 kB / 368.2 MB, free: 10.27 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.003983, allocations: 123.5 kB / 368.3 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.003999, allocations: 0 / 368.3 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004, allocations: 0 / 368.3 MB, free: 10.14 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.004015, allocations: 0 / 368.3 MB, free: 10.14 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009459/0.004961, allocations: 432.9 kB / 368.7 MB, free: 9.695 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.005002, allocations: 12.03 kB / 368.7 MB, free: 9.684 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.005066, allocations: 24.91 kB / 368.8 MB, free: 9.66 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.005274, allocations: 133.6 kB / 368.9 MB, free: 9.504 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.005294, allocations: 12.38 kB / 368.9 MB, free: 9.492 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.005348, allocations: 28.33 kB / 368.9 MB, free: 9.465 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.005533, allocations: 114.9 kB / 369 MB, free: 9.348 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.005549, allocations: 4.172 kB / 369 MB, free: 9.344 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.005565, allocations: 8.375 kB / 369 MB, free: 9.336 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005573, allocations: 4.375 kB / 369.1 MB, free: 9.332 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.005667, allocations: 51.84 kB / 369.1 MB, free: 9.281 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.005901, allocations: 143.8 kB / 369.2 MB, free: 9.125 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.006293, allocations: 150.5 kB / 369.4 MB, free: 8.969 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.00637, allocations: 52.83 kB / 369.4 MB, free: 8.914 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.006387, allocations: 4 kB / 369.4 MB, free: 8.91 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.006413, allocations: 35.31 kB / 369.5 MB, free: 8.867 MB / 362.8 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.006415, allocations: 0 / 369.5 MB, free: 8.867 MB / 362.8 MB Notification: Performance of matching and sorting (n=30): time 0.0009005/0.007316, allocations: 329.8 kB / 369.8 MB, free: 8.535 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.007348, allocations: 55.41 kB / 369.9 MB, free: 8.469 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.007408, allocations: 110.7 kB / 370 MB, free: 8.348 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.00743, allocations: 33.7 kB / 370 MB, free: 8.309 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.007464, allocations: 96.78 kB / 370.1 MB, free: 8.211 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.00763, allocations: 126.9 kB / 370.2 MB, free: 8.086 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.007728, allocations: 78.14 kB / 370.3 MB, free: 8.004 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.007821, allocations: 326.8 kB / 370.6 MB, free: 7.676 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.007911, allocations: 44.86 kB / 370.7 MB, free: 7.633 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.008036, allocations: 126.4 kB / 370.8 MB, free: 7.473 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.008265, allocations: 201 kB / 371 MB, free: 7.242 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.008269, allocations: 0 / 371 MB, free: 7.242 MB / 362.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004958/0.008764, allocations: 297 kB / 371.3 MB, free: 6.941 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.008784, allocations: 4 kB / 371.3 MB, free: 6.938 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.008792, allocations: 4 kB / 371.3 MB, free: 6.934 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.009223, allocations: 123.6 kB / 371.4 MB, free: 6.809 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.009543, allocations: 117.5 kB / 371.5 MB, free: 6.699 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.01125, allocations: 1.536 MB / 373 MB, free: 5.066 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01136, allocations: 39.67 kB / 373.1 MB, free: 5.027 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.01138, allocations: 12 kB / 373.1 MB, free: 5.016 MB / 362.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 9.505e-05/0.01148, allocations: 132.6 kB / 373.2 MB, free: 4.875 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.01151, allocations: 23.92 kB / 373.2 MB, free: 4.852 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.01156, allocations: 33.31 kB / 373.3 MB, free: 4.82 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01157, allocations: 4 kB / 373.3 MB, free: 4.816 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.01157, allocations: 4 kB / 373.3 MB, free: 4.812 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01158, allocations: 3.984 kB / 373.3 MB, free: 4.809 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.01177, allocations: 145.7 kB / 373.4 MB, free: 4.648 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01177, allocations: 0 / 373.4 MB, free: 4.648 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.01215, allocations: 89.8 kB / 373.5 MB, free: 4.562 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.01216, allocations: 15.89 kB / 373.5 MB, free: 4.547 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.01255, allocations: 123.4 kB / 373.7 MB, free: 4.422 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.01259, allocations: 11.98 kB / 373.7 MB, free: 4.41 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.01408, allocations: 1.533 MB / 375.2 MB, free: 2.781 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01408, allocations: 7.938 kB / 375.2 MB, free: 2.773 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.01494, allocations: 377.1 kB / 375.6 MB, free: 2.379 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.01498, allocations: 8 kB / 375.6 MB, free: 2.371 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.01505, allocations: 4 kB / 375.6 MB, free: 2.367 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.0151, allocations: 27.94 kB / 375.6 MB, free: 2.34 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01512, allocations: 4 kB / 375.6 MB, free: 2.336 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.377e-05/0.01513, allocations: 8.859 kB / 375.6 MB, free: 2.324 MB / 362.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01513, allocations: 4 kB / 375.6 MB, free: 2.32 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002938/0.01543, allocations: 72 kB / 375.7 MB, free: 2.25 MB / 362.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 0.0001335/0.01556, allocations: 96.34 kB / 375.8 MB, free: 2.145 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.01619, allocations: 352.1 kB / 376.1 MB, free: 1.785 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.0162, allocations: 0.625 kB / 376.1 MB, free: 1.785 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.01657, allocations: 271.1 kB / 376.4 MB, free: 1.504 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.01671, allocations: 29.05 kB / 376.4 MB, free: 1.48 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01819, allocations: 494 kB / 376.9 MB, free: 0.9688 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01829, allocations: 88.31 kB / 377 MB, free: 0.8594 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.01837, allocations: 21.94 kB / 377 MB, free: 0.8398 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.01846, allocations: 67.38 kB / 377.1 MB, free: 0.7734 MB / 362.8 MB Notification: Performance of SimCode: time 2.054e-06/0.01846, allocations: 3.938 kB / 377.1 MB, free: 0.7695 MB / 362.8 MB Notification: Performance of Templates: time 0.005853/0.02432, allocations: 3.062 MB / 380.2 MB, free: 13.77 MB / 378.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 -ignoreHideResult -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: 3.2458453830331564]