Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001146/0.001146, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001749/0.002894, allocations: 449.8 kB / 10.44 MB, free: 252 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.001097/0.001097, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002537, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9383/0.9383, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0924/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.738/0.738, allocations: 88.08 MB / 332.2 MB, free: 14.13 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05674/0.7947, allocations: 32.94 MB / 365.2 MB, free: 13.36 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 366.5 MB, free: 12.09 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.704e-05, allocations: 6.312 kB / 366.5 MB, free: 12.09 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002895/0.002922, allocations: 1.315 MB / 367.8 MB, free: 10.76 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.003049, allocations: 43.81 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.003077, allocations: 0 / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.003115, allocations: 3.984 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.003175, allocations: 11.98 kB / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.003347, allocations: 23.89 kB / 367.9 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.003643, allocations: 251.6 kB / 368.1 MB, free: 10.43 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.003688, allocations: 4 kB / 368.1 MB, free: 10.43 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.003869, allocations: 111.9 kB / 368.2 MB, free: 10.32 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.004029, allocations: 71.81 kB / 368.3 MB, free: 10.25 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.004076, allocations: 12 kB / 368.3 MB, free: 10.23 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.004112, allocations: 12 kB / 368.3 MB, free: 10.22 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.004191, allocations: 43.91 kB / 368.4 MB, free: 10.18 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.00427, allocations: 39.94 kB / 368.4 MB, free: 10.14 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.00443, allocations: 103.6 kB / 368.5 MB, free: 10.04 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.004442, allocations: 0 / 368.5 MB, free: 10.04 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004443, allocations: 4 kB / 368.5 MB, free: 10.04 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.004455, allocations: 3.938 kB / 368.5 MB, free: 10.03 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.0007948/0.00525, allocations: 428.9 kB / 368.9 MB, free: 9.586 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.005288, allocations: 12.03 kB / 368.9 MB, free: 9.574 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.005357, allocations: 20.92 kB / 369 MB, free: 9.555 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005536, allocations: 133.6 kB / 369.1 MB, free: 9.398 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.005557, allocations: 16.38 kB / 369.1 MB, free: 9.383 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.005623, allocations: 36.25 kB / 369.1 MB, free: 9.348 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.005829, allocations: 110.9 kB / 369.3 MB, free: 9.234 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.005851, allocations: 4.172 kB / 369.3 MB, free: 9.23 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.005873, allocations: 8.375 kB / 369.3 MB, free: 9.223 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.005882, allocations: 4.375 kB / 369.3 MB, free: 9.219 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.005992, allocations: 51.91 kB / 369.3 MB, free: 9.168 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.006264, allocations: 147.7 kB / 369.5 MB, free: 9.008 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.006669, allocations: 155 kB / 369.6 MB, free: 8.848 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.006758, allocations: 48.83 kB / 369.7 MB, free: 8.797 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.00678, allocations: 11.94 kB / 369.7 MB, free: 8.785 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.006808, allocations: 35.31 kB / 369.7 MB, free: 8.742 MB / 362.8 MB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/0.00681, allocations: 0 / 369.7 MB, free: 8.742 MB / 362.8 MB Notification: Performance of matching and sorting (n=30): time 0.001047/0.007857, allocations: 329.8 kB / 370 MB, free: 8.41 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.007896, allocations: 55.41 kB / 370.1 MB, free: 8.344 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.007972, allocations: 106.7 kB / 370.2 MB, free: 8.227 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.008004, allocations: 37.7 kB / 370.2 MB, free: 8.184 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.00804, allocations: 84.8 kB / 370.3 MB, free: 8.098 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.008162, allocations: 130.9 kB / 370.4 MB, free: 7.969 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.008277, allocations: 78.16 kB / 370.5 MB, free: 7.883 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008388, allocations: 330.8 kB / 370.8 MB, free: 7.551 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.008464, allocations: 32.98 kB / 370.9 MB, free: 7.52 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.008608, allocations: 130.4 kB / 371 MB, free: 7.359 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.008878, allocations: 201 kB / 371.2 MB, free: 7.129 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.008883, allocations: 4 kB / 371.2 MB, free: 7.125 MB / 362.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006137/0.009497, allocations: 289 kB / 371.5 MB, free: 6.832 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.00952, allocations: 8 kB / 371.5 MB, free: 6.824 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.009529, allocations: 4 kB / 371.5 MB, free: 6.82 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/0.01006, allocations: 127.5 kB / 371.6 MB, free: 6.691 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.01044, allocations: 112.8 kB / 371.7 MB, free: 6.586 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.01228, allocations: 1.543 MB / 373.3 MB, free: 4.945 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01242, allocations: 35.67 kB / 373.3 MB, free: 4.91 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.01245, allocations: 12 kB / 373.3 MB, free: 4.898 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 0.0001218/0.01257, allocations: 132.5 kB / 373.4 MB, free: 4.758 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.01261, allocations: 19.98 kB / 373.5 MB, free: 4.738 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.01267, allocations: 29.31 kB / 373.5 MB, free: 4.711 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01268, allocations: 8.031 kB / 373.5 MB, free: 4.703 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.01269, allocations: 0 / 373.5 MB, free: 4.703 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.01269, allocations: 3.984 kB / 373.5 MB, free: 4.699 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01292, allocations: 153.6 kB / 373.7 MB, free: 4.531 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.01292, allocations: 0 / 373.7 MB, free: 4.531 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.01336, allocations: 96.98 kB / 373.7 MB, free: 4.438 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01338, allocations: 11.89 kB / 373.8 MB, free: 4.426 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.01384, allocations: 123.7 kB / 373.9 MB, free: 4.301 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.01388, allocations: 11.98 kB / 373.9 MB, free: 4.289 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.01562, allocations: 1.533 MB / 375.4 MB, free: 2.656 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01562, allocations: 4 kB / 375.4 MB, free: 2.652 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.01631, allocations: 369.2 kB / 375.8 MB, free: 2.27 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.01635, allocations: 15.98 kB / 375.8 MB, free: 2.254 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.01642, allocations: 4 kB / 375.8 MB, free: 2.25 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.01648, allocations: 19.95 kB / 375.8 MB, free: 2.23 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.01651, allocations: 12 kB / 375.8 MB, free: 2.219 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.01652, allocations: 4.859 kB / 375.8 MB, free: 2.211 MB / 362.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01652, allocations: 0 / 375.8 MB, free: 2.211 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003461/0.01687, allocations: 72 kB / 375.9 MB, free: 2.141 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.0001576/0.01703, allocations: 104 kB / 376 MB, free: 2.031 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.01772, allocations: 352.6 kB / 376.4 MB, free: 1.672 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01773, allocations: 4.281 kB / 376.4 MB, free: 1.668 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.01816, allocations: 275.2 kB / 376.6 MB, free: 1.383 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01837, allocations: 87.98 kB / 376.7 MB, free: 1.285 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.01982, allocations: 496.1 kB / 377.2 MB, free: 0.7734 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.0199, allocations: 92.3 kB / 377.3 MB, free: 0.6602 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.01996, allocations: 13.95 kB / 377.3 MB, free: 0.6484 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.02006, allocations: 75.38 kB / 377.4 MB, free: 0.5742 MB / 362.8 MB Notification: Performance of SimCode: time 1.072e-06/0.02006, allocations: 0 / 377.4 MB, free: 0.5742 MB / 362.8 MB Notification: Performance of Templates: time 0.006791/0.02685, allocations: 2.929 MB / 380.3 MB, free: 13.71 MB / 378.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1872854502871633]