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.0008225/0.0008225, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001955, 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.0007374/0.0007374, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009469/0.001684, 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.9352/0.9352, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1094/1.045, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.6553/0.6553, allocations: 88.09 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04993/0.7053, allocations: 32.92 MB / 365 MB, free: 13.43 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.393e-06/1.393e-06, allocations: 0 / 366.3 MB, free: 12.18 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.469e-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_10): time 0.001417/0.001432, allocations: 1.322 MB / 367.6 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 7.922e-05/0.001511, allocations: 43.86 kB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.001534, allocations: 0 / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.00156, allocations: 0 / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.001606, allocations: 11.94 kB / 367.6 MB, free: 10.79 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.001721, allocations: 27.88 kB / 367.7 MB, free: 10.76 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.001917, allocations: 247.7 kB / 367.9 MB, free: 10.52 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.00195, allocations: 4 kB / 367.9 MB, free: 10.52 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.002051, allocations: 111.8 kB / 368 MB, free: 10.41 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.002139, allocations: 63.88 kB / 368.1 MB, free: 10.34 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.002171, allocations: 12 kB / 368.1 MB, free: 10.33 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.002191, allocations: 12 kB / 368.1 MB, free: 10.32 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.00224, allocations: 43.92 kB / 368.1 MB, free: 10.28 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.002287, allocations: 39.94 kB / 368.2 MB, free: 10.24 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.002391, allocations: 111.6 kB / 368.3 MB, free: 10.13 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.002404, allocations: 3.938 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002404, allocations: 3.938 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.002416, allocations: 0 / 368.3 MB, free: 10.12 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.000536/0.002952, allocations: 432.9 kB / 368.7 MB, free: 9.672 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.002978, allocations: 12.03 kB / 368.7 MB, free: 9.66 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.003017, allocations: 24.91 kB / 368.8 MB, free: 9.637 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.003137, allocations: 129.7 kB / 368.9 MB, free: 9.484 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.00315, allocations: 20.31 kB / 368.9 MB, free: 9.465 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.003184, allocations: 24.33 kB / 368.9 MB, free: 9.441 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.003312, allocations: 114.9 kB / 369 MB, free: 9.324 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.003323, allocations: 4.172 kB / 369 MB, free: 9.32 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.003336, allocations: 8.375 kB / 369.1 MB, free: 9.312 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.003341, allocations: 8.359 kB / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.003407, allocations: 51.91 kB / 369.1 MB, free: 9.254 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.003583, allocations: 139.8 kB / 369.2 MB, free: 9.102 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.003866, allocations: 162.4 kB / 369.4 MB, free: 8.934 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.003915, allocations: 44.84 kB / 369.5 MB, free: 8.887 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.00393, allocations: 8 kB / 369.5 MB, free: 8.879 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.00395, allocations: 35.31 kB / 369.5 MB, free: 8.836 MB / 362.8 MB Notification: Performance of pre-optimization done (n=30): time 1.052e-06/0.003951, allocations: 0 / 369.5 MB, free: 8.836 MB / 362.8 MB Notification: Performance of matching and sorting (n=30): time 0.0006442/0.004595, allocations: 325.8 kB / 369.8 MB, free: 8.508 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.004622, allocations: 55.41 kB / 369.9 MB, free: 8.441 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.004667, allocations: 110.7 kB / 370 MB, free: 8.32 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.004685, allocations: 29.7 kB / 370 MB, free: 8.285 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.004709, allocations: 96.78 kB / 370.1 MB, free: 8.188 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.004785, allocations: 126.9 kB / 370.2 MB, free: 8.062 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.004854, allocations: 78.14 kB / 370.3 MB, free: 7.98 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.004935, allocations: 326.8 kB / 370.6 MB, free: 7.652 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.00498, allocations: 36.98 kB / 370.7 MB, free: 7.617 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.005063, allocations: 130.3 kB / 370.8 MB, free: 7.453 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.005222, allocations: 205 kB / 371 MB, free: 7.219 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.005224, allocations: 0 / 371 MB, free: 7.219 MB / 362.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003585/0.005583, allocations: 293 kB / 371.3 MB, free: 6.922 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.005595, allocations: 4 kB / 371.3 MB, free: 6.918 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.005601, allocations: 4 kB / 371.3 MB, free: 6.914 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.00594, allocations: 127.5 kB / 371.4 MB, free: 6.785 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.006179, allocations: 116 kB / 371.5 MB, free: 6.676 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.007375, allocations: 1.539 MB / 373.1 MB, free: 5.039 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.007449, allocations: 35.67 kB / 373.1 MB, free: 5.004 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.007462, allocations: 12 kB / 373.1 MB, free: 4.992 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 7.499e-05/0.007537, allocations: 132.6 kB / 373.2 MB, free: 4.852 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.007559, allocations: 19.98 kB / 373.2 MB, free: 4.832 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.007597, allocations: 37.5 kB / 373.3 MB, free: 4.797 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.007599, allocations: 0 / 373.3 MB, free: 4.797 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.007606, allocations: 7.984 kB / 373.3 MB, free: 4.789 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.00761, allocations: 3.984 kB / 373.3 MB, free: 4.785 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007744, allocations: 145.7 kB / 373.4 MB, free: 4.625 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007746, allocations: 0 / 373.4 MB, free: 4.625 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.008012, allocations: 101.3 kB / 373.5 MB, free: 4.531 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.008022, allocations: 15.89 kB / 373.6 MB, free: 4.516 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.008289, allocations: 119.5 kB / 373.7 MB, free: 4.395 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.00831, allocations: 11.98 kB / 373.7 MB, free: 4.383 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.009351, allocations: 1.53 MB / 375.2 MB, free: 2.754 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009352, allocations: 4 kB / 375.2 MB, free: 2.75 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.009771, allocations: 373.1 kB / 375.6 MB, free: 2.359 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.009795, allocations: 12 kB / 375.6 MB, free: 2.348 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.009841, allocations: 8 kB / 375.6 MB, free: 2.34 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.009881, allocations: 23.94 kB / 375.6 MB, free: 2.316 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.009891, allocations: 4 kB / 375.6 MB, free: 2.312 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.021e-05/0.009901, allocations: 8.859 kB / 375.6 MB, free: 2.301 MB / 362.8 MB Notification: Performance of sort global known variables: time 2e-08/0.009901, allocations: 4 kB / 375.6 MB, free: 2.297 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000187/0.01009, allocations: 72 kB / 375.7 MB, free: 2.227 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 8.137e-05/0.01017, allocations: 96.34 kB / 375.8 MB, free: 2.121 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.01058, allocations: 352.1 kB / 376.1 MB, free: 1.762 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.01059, allocations: 4.625 kB / 376.2 MB, free: 1.758 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.01083, allocations: 263.2 kB / 376.4 MB, free: 1.484 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.748e-05/0.01093, allocations: 25.8 kB / 376.4 MB, free: 1.461 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.01176, allocations: 0.4903 MB / 376.9 MB, free: 0.9414 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.01181, allocations: 92.3 kB / 377 MB, free: 0.8281 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.01184, allocations: 17.95 kB / 377 MB, free: 0.8125 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.0119, allocations: 67.38 kB / 377.1 MB, free: 0.7461 MB / 362.8 MB Notification: Performance of SimCode: time 5.01e-07/0.0119, allocations: 4 kB / 377.1 MB, free: 0.7422 MB / 362.8 MB Notification: Performance of Templates: time 0.004247/0.01615, allocations: 3.059 MB / 380.2 MB, free: 13.75 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3039190005511045]