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.0007737/0.0007737, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001869, 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.0006907/0.0006907, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009438/0.001635, 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.9097/0.9097, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.6543/0.6543, allocations: 88.07 MB / 332.1 MB, free: 14.17 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05207/0.7064, allocations: 32.93 MB / 365 MB, free: 13.44 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.874e-06/1.874e-06, allocations: 0 / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.761e-05, allocations: 4.562 kB / 366.2 MB, free: 12.28 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001518/0.001536, allocations: 1.296 MB / 367.5 MB, free: 10.97 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 7.551e-05/0.001611, allocations: 39.88 kB / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.001634, allocations: 3.938 kB / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.001662, allocations: 3.984 kB / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.001704, allocations: 11.92 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.001814, allocations: 23.95 kB / 367.5 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.001939, allocations: 111.8 kB / 367.7 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.001975, allocations: 7.984 kB / 367.7 MB, free: 10.77 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.002049, allocations: 51.89 kB / 367.7 MB, free: 10.72 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.002115, allocations: 31.94 kB / 367.7 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.002135, allocations: 4 kB / 367.7 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.002148, allocations: 4 kB / 367.8 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 3.47e-05/0.002183, allocations: 19.92 kB / 367.8 MB, free: 10.66 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.002216, allocations: 16 kB / 367.8 MB, free: 10.65 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 6.806e-05/0.002284, allocations: 47.77 kB / 367.8 MB, free: 10.6 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.002296, allocations: 0 / 367.8 MB, free: 10.6 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002296, allocations: 0 / 367.8 MB, free: 10.6 MB / 362.8 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.002306, allocations: 4 kB / 367.8 MB, free: 10.6 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.0003772/0.002683, allocations: 301.2 kB / 368.1 MB, free: 10.28 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.002711, allocations: 8.031 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.00274, allocations: 16.92 kB / 368.2 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.002841, allocations: 121.7 kB / 368.3 MB, free: 10.11 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.002849, allocations: 4.375 kB / 368.3 MB, free: 10.11 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.002873, allocations: 12.38 kB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.523e-05/0.002959, allocations: 67.39 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.002966, allocations: 192 / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.002975, allocations: 8.375 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.002978, allocations: 384 / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.003015, allocations: 19.92 kB / 368.4 MB, free: 9.996 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.003137, allocations: 91.81 kB / 368.5 MB, free: 9.891 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.003336, allocations: 90.53 kB / 368.6 MB, free: 9.793 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.003362, allocations: 17.52 kB / 368.6 MB, free: 9.773 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.003372, allocations: 4 kB / 368.6 MB, free: 9.77 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.003392, allocations: 38.5 kB / 368.6 MB, free: 9.723 MB / 362.8 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.003393, allocations: 0 / 368.6 MB, free: 9.723 MB / 362.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003048/0.003698, allocations: 146.3 kB / 368.8 MB, free: 9.57 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.003724, allocations: 59.41 kB / 368.8 MB, free: 9.5 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.003769, allocations: 106.7 kB / 368.9 MB, free: 9.383 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.003782, allocations: 29.69 kB / 369 MB, free: 9.348 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.003805, allocations: 84.14 kB / 369 MB, free: 9.262 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.003847, allocations: 51.58 kB / 369.1 MB, free: 9.211 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.003886, allocations: 37.69 kB / 369.1 MB, free: 9.168 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.003953, allocations: 314.8 kB / 369.4 MB, free: 8.852 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.003975, allocations: 15.98 kB / 369.4 MB, free: 8.836 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.004021, allocations: 52.27 kB / 369.5 MB, free: 8.77 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.004096, allocations: 83.67 kB / 369.6 MB, free: 8.672 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.004098, allocations: 0 / 369.6 MB, free: 8.672 MB / 362.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001662/0.004264, allocations: 146.1 kB / 369.7 MB, free: 8.52 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004275, allocations: 4 kB / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004279, allocations: 0 / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.004448, allocations: 55.75 kB / 369.8 MB, free: 8.457 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.004563, allocations: 42.17 kB / 369.8 MB, free: 8.418 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007311/0.005294, allocations: 1.284 MB / 371.1 MB, free: 7.039 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.005326, allocations: 11.95 kB / 371.1 MB, free: 7.027 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.005333, allocations: 4 kB / 371.1 MB, free: 7.023 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 5.768e-05/0.00539, allocations: 124.5 kB / 371.2 MB, free: 6.891 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.0054, allocations: 8.031 kB / 371.3 MB, free: 6.883 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.005426, allocations: 24.05 kB / 371.3 MB, free: 6.855 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-07/0.005426, allocations: 0 / 371.3 MB, free: 6.855 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00543, allocations: 4 kB / 371.3 MB, free: 6.852 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005432, allocations: 0 / 371.3 MB, free: 6.852 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.215e-05/0.005514, allocations: 89.89 kB / 371.4 MB, free: 6.746 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005516, allocations: 0 / 371.4 MB, free: 6.746 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.005635, allocations: 38.55 kB / 371.4 MB, free: 6.711 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.005641, allocations: 7.953 kB / 371.4 MB, free: 6.703 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.00576, allocations: 55.7 kB / 371.5 MB, free: 6.645 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.005771, allocations: 7.938 kB / 371.5 MB, free: 6.637 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006339/0.006405, allocations: 1.272 MB / 372.7 MB, free: 5.27 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006406, allocations: 3.938 kB / 372.8 MB, free: 5.266 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.006587, allocations: 180 kB / 372.9 MB, free: 5.066 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006599, allocations: 7.984 kB / 372.9 MB, free: 5.059 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.00662, allocations: 0 / 372.9 MB, free: 5.059 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.006642, allocations: 19.95 kB / 373 MB, free: 5.039 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.006648, allocations: 4 kB / 373 MB, free: 5.035 MB / 362.8 MB Notification: Performance of sorting global known variables: time 9.297e-06/0.006657, allocations: 8.844 kB / 373 MB, free: 5.023 MB / 362.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006657, allocations: 0 / 373 MB, free: 5.023 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001281/0.006785, allocations: 28 kB / 373 MB, free: 4.996 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 6.757e-05/0.006853, allocations: 80.42 kB / 373.1 MB, free: 4.91 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.0071, allocations: 207.4 kB / 373.3 MB, free: 4.691 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.007106, allocations: 8.688 kB / 373.3 MB, free: 4.684 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.007221, allocations: 171.3 kB / 373.5 MB, free: 4.5 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.954e-05/0.007301, allocations: 15.94 kB / 373.5 MB, free: 4.484 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.007978, allocations: 262.1 kB / 373.7 MB, free: 4.203 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.008013, allocations: 75.33 kB / 373.8 MB, free: 4.109 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.008036, allocations: 8.484 kB / 373.8 MB, free: 4.102 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.008079, allocations: 59.38 kB / 373.9 MB, free: 4.043 MB / 362.8 MB Notification: Performance of SimCode: time 9.42e-07/0.00808, allocations: 0 / 373.9 MB, free: 4.043 MB / 362.8 MB Notification: Performance of Templates: time 0.002788/0.01087, allocations: 1.529 MB / 375.4 MB, free: 2.57 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1068977657705545]