Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001166/0.001166, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001803/0.002969, 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.001245/0.001245, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.003087, 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.9514/0.9514, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09593/1.047, 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.6859/0.6859, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05748/0.7434, allocations: 32.93 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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 366.4 MB, free: 12.18 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.171e-05, allocations: 3.625 kB / 366.4 MB, free: 12.18 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002636/0.002658, allocations: 1.302 MB / 367.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 8.91e-05/0.002747, allocations: 47.86 kB / 367.7 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.002771, allocations: 0 / 367.7 MB, free: 10.82 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.002805, allocations: 3.938 kB / 367.7 MB, free: 10.81 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.002852, allocations: 7.938 kB / 367.7 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.002972, allocations: 27.94 kB / 367.8 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003113, allocations: 111.8 kB / 367.9 MB, free: 10.67 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.003148, allocations: 0 / 367.9 MB, free: 10.67 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.003224, allocations: 51.89 kB / 367.9 MB, free: 10.62 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.003292, allocations: 31.94 kB / 367.9 MB, free: 10.59 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.003315, allocations: 4 kB / 368 MB, free: 10.58 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.003329, allocations: 4 kB / 368 MB, free: 10.58 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.003372, allocations: 23.92 kB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.003402, allocations: 16 kB / 368 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.003485, allocations: 43.83 kB / 368 MB, free: 10.5 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.003495, allocations: 4 kB / 368 MB, free: 10.49 MB / 362.8 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003496, allocations: 0 / 368 MB, free: 10.49 MB / 362.8 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.003504, allocations: 3.938 kB / 368 MB, free: 10.49 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003835/0.003888, allocations: 309.1 kB / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.003918, allocations: 8.031 kB / 368.4 MB, free: 10.15 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.003948, allocations: 4.938 kB / 368.4 MB, free: 10.15 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.004059, allocations: 125.7 kB / 368.5 MB, free: 10 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.004068, allocations: 8.375 kB / 368.5 MB, free: 9.992 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.004094, allocations: 8.312 kB / 368.5 MB, free: 9.984 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.004191, allocations: 66.75 kB / 368.6 MB, free: 9.914 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004199, allocations: 192 / 368.6 MB, free: 9.914 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004208, allocations: 384 / 368.6 MB, free: 9.914 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004212, allocations: 4.375 kB / 368.6 MB, free: 9.91 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.004249, allocations: 24.73 kB / 368.6 MB, free: 9.887 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.004373, allocations: 91.83 kB / 368.7 MB, free: 9.781 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.004578, allocations: 90.52 kB / 368.8 MB, free: 9.684 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.004604, allocations: 20.86 kB / 368.8 MB, free: 9.66 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.004614, allocations: 4 kB / 368.8 MB, free: 9.656 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004634, allocations: 34.55 kB / 368.8 MB, free: 9.613 MB / 362.8 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.004635, allocations: 336 / 368.8 MB, free: 9.613 MB / 362.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003142/0.004949, allocations: 147 kB / 369 MB, free: 9.461 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.004974, allocations: 55.41 kB / 369 MB, free: 9.395 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.005023, allocations: 106.7 kB / 369.1 MB, free: 9.277 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.005037, allocations: 29.7 kB / 369.2 MB, free: 9.242 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.005056, allocations: 84.08 kB / 369.2 MB, free: 9.156 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.005099, allocations: 51.58 kB / 369.3 MB, free: 9.105 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.005144, allocations: 41.67 kB / 369.3 MB, free: 9.059 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.005212, allocations: 314.8 kB / 369.6 MB, free: 8.742 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.005234, allocations: 15.98 kB / 369.7 MB, free: 8.727 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.005271, allocations: 48.28 kB / 369.7 MB, free: 8.664 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.00535, allocations: 88 kB / 369.8 MB, free: 8.562 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005352, allocations: 3.938 kB / 369.8 MB, free: 8.559 MB / 362.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001813/0.005534, allocations: 137.1 kB / 369.9 MB, free: 8.414 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005548, allocations: 12.11 kB / 369.9 MB, free: 8.402 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005552, allocations: 0 / 369.9 MB, free: 8.402 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.005725, allocations: 51.64 kB / 370 MB, free: 8.348 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.005847, allocations: 43.91 kB / 370 MB, free: 8.305 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007965/0.006644, allocations: 1.287 MB / 371.3 MB, free: 6.922 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.006683, allocations: 11.95 kB / 371.3 MB, free: 6.91 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.00669, allocations: 4 kB / 371.3 MB, free: 6.906 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.006758, allocations: 124.6 kB / 371.5 MB, free: 6.773 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.006771, allocations: 12 kB / 371.5 MB, free: 6.762 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.006797, allocations: 20.05 kB / 371.5 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006798, allocations: 0 / 371.5 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.006801, allocations: 0 / 371.5 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.00681, allocations: 4 kB / 371.5 MB, free: 6.734 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.166e-05/0.006892, allocations: 89.89 kB / 371.6 MB, free: 6.629 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006893, allocations: 0 / 371.6 MB, free: 6.629 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.007025, allocations: 43.67 kB / 371.6 MB, free: 6.59 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.007032, allocations: 7.938 kB / 371.6 MB, free: 6.582 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.007158, allocations: 47.64 kB / 371.7 MB, free: 6.531 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.007171, allocations: 7.938 kB / 371.7 MB, free: 6.523 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006963/0.007867, allocations: 1.273 MB / 373 MB, free: 5.156 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.00787, allocations: 4 kB / 373 MB, free: 5.152 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.008133, allocations: 180.1 kB / 373.1 MB, free: 4.953 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.008148, allocations: 7.984 kB / 373.1 MB, free: 4.945 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.008173, allocations: 4.031 kB / 373.1 MB, free: 4.941 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.008197, allocations: 15.92 kB / 373.2 MB, free: 4.926 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.008202, allocations: 0 / 373.2 MB, free: 4.926 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.366e-05/0.008216, allocations: 12.84 kB / 373.2 MB, free: 4.91 MB / 362.8 MB Notification: Performance of sort global known variables: time 7e-08/0.008216, allocations: 3.938 kB / 373.2 MB, free: 4.906 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000139/0.008355, allocations: 32 kB / 373.2 MB, free: 4.875 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.635e-05/0.008441, allocations: 80.42 kB / 373.3 MB, free: 4.789 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.008704, allocations: 215.3 kB / 373.5 MB, free: 4.562 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.008708, allocations: 0 / 373.5 MB, free: 4.562 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.008836, allocations: 182.4 kB / 373.7 MB, free: 4.371 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.00896, allocations: 67.34 kB / 373.7 MB, free: 4.293 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.009669, allocations: 255.9 kB / 374 MB, free: 4.016 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.009709, allocations: 71.83 kB / 374.1 MB, free: 3.926 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.009734, allocations: 8.484 kB / 374.1 MB, free: 3.914 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.009785, allocations: 59.38 kB / 374.1 MB, free: 3.855 MB / 362.8 MB Notification: Performance of SimCode: time 5.51e-07/0.009785, allocations: 0 / 374.1 MB, free: 3.855 MB / 362.8 MB Notification: Performance of Templates: time 0.003176/0.01296, allocations: 1.5 MB / 375.6 MB, free: 2.418 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_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.26614535972476]