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.0009852/0.0009852, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001266/0.001266, allocations: 174.2 kB / 24.92 MB, free: 9.211 MB / 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 0.9376/0.9376, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.5912/0.5912, allocations: 88.08 MB / 349.9 MB, free: 14.16 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.484e-05, allocations: 3.406 kB / 398.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001589/0.001604, allocations: 1.317 MB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.001774, allocations: 39.88 kB / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.001803, allocations: 0 / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.143e-05/0.001875, allocations: 0 / 400.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.001938, allocations: 11.91 kB / 400.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002089, allocations: 35.89 kB / 400.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.002275, allocations: 231.6 kB / 400.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.002307, allocations: 0 / 400.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.002399, allocations: 107.9 kB / 400.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.002503, allocations: 75.81 kB / 400.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.002526, allocations: 8 kB / 400.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.002545, allocations: 12 kB / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.002601, allocations: 67.84 kB / 400.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.002658, allocations: 59.86 kB / 400.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.002765, allocations: 123.5 kB / 401 MB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.002766, allocations: 4 kB / 401 MB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002767, allocations: 0 / 401 MB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002771, allocations: 0 / 401 MB, free: 11.39 MB / 378.7 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.000428/0.003199, allocations: 397.2 kB / 401.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.003227, allocations: 12.03 kB / 401.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.003265, allocations: 20.92 kB / 401.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.003381, allocations: 133.6 kB / 401.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.003394, allocations: 16.38 kB / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.003428, allocations: 32.31 kB / 401.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.003549, allocations: 114.9 kB / 401.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.003561, allocations: 8.156 kB / 401.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.003573, allocations: 4.375 kB / 401.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003578, allocations: 8.375 kB / 401.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.003645, allocations: 47.91 kB / 401.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.003815, allocations: 143.8 kB / 401.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.004076, allocations: 159.1 kB / 402.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.004127, allocations: 44.84 kB / 402.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004141, allocations: 4 kB / 402.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.00416, allocations: 39.31 kB / 402.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.082e-06/0.004161, allocations: 0 / 402.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006615/0.004823, allocations: 325.8 kB / 402.5 MB, free: 9.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.00485, allocations: 55.41 kB / 402.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.004898, allocations: 114.7 kB / 402.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.004917, allocations: 37.64 kB / 402.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.004939, allocations: 88.8 kB / 402.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.005007, allocations: 122.9 kB / 402.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.005072, allocations: 78.14 kB / 403 MB, free: 9.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.005148, allocations: 326.8 kB / 403.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.005195, allocations: 36.98 kB / 403.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.005288, allocations: 142.3 kB / 403.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.005452, allocations: 201 kB / 403.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005454, allocations: 0 / 403.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003795/0.005834, allocations: 293 kB / 403.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005845, allocations: 4 kB / 403.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.005851, allocations: 4 kB / 403.9 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.006171, allocations: 123.5 kB / 404.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.006388, allocations: 109.8 kB / 404.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.007545, allocations: 1.549 MB / 405.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.00761, allocations: 31.91 kB / 405.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.007625, allocations: 12 kB / 405.8 MB, free: 6.297 MB / 378.7 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.162e-05/0.007696, allocations: 128.6 kB / 405.9 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.007718, allocations: 28 kB / 405.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.00775, allocations: 29.31 kB / 405.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007753, allocations: 4 kB / 405.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.007756, allocations: 0 / 405.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.00776, allocations: 3.984 kB / 406 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.007895, allocations: 153.6 kB / 406.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007896, allocations: 0 / 406.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.008163, allocations: 97.61 kB / 406.2 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.008445, allocations: 115.6 kB / 406.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.008467, allocations: 11.98 kB / 406.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.009544, allocations: 1.545 MB / 407.9 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009545, allocations: 0 / 407.9 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.009947, allocations: 373.2 kB / 408.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.009959, allocations: 23.78 kB / 408.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.009981, allocations: 11.98 kB / 408.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.01002, allocations: 4 kB / 408.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.01006, allocations: 19.95 kB / 408.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01007, allocations: 8 kB / 408.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.086e-05/0.01008, allocations: 12.84 kB / 408.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01008, allocations: 0 / 408.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.01026, allocations: 76 kB / 408.4 MB, free: 3.52 MB / 378.7 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.53e-05/0.01033, allocations: 88.36 kB / 408.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.01074, allocations: 352.2 kB / 408.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01074, allocations: 0 / 408.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.01099, allocations: 263.2 kB / 409.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.957e-05/0.01108, allocations: 15.94 kB / 409.1 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.01162, allocations: 0.5998 MB / 409.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.01167, allocations: 100.3 kB / 409.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.01171, allocations: 13.95 kB / 409.8 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.01177, allocations: 67.38 kB / 409.9 MB, free: 1.949 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01177, allocations: 3.938 kB / 409.9 MB, free: 1.945 MB / 378.7 MB Notification: Performance of Templates: time 0.004281/0.01605, allocations: 3.045 MB / 412.9 MB, free: 14.96 MB / 394.7 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 -s gbode -gbm=radauIIA3 -emit_protected -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.085022151004523]