Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001337/0.001337, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001167/0.001167, allocations: 163.9 kB / 25.61 MB, free: 8.879 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.9782/0.9782, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.763/0.763, allocations: 88.08 MB / 350.7 MB, free: 11.83 MB / 330.8 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.Verification.HarmonicOscillatorNetworkCheck,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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 452.8 MB, free: 8.047 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.933e-05, allocations: 2.312 kB / 452.8 MB, free: 8.043 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.003287/0.003326, allocations: 1.247 MB / 454.1 MB, free: 6.785 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.003559, allocations: 43.88 kB / 454.1 MB, free: 6.742 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.003604, allocations: 0 / 454.1 MB, free: 6.742 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.003705, allocations: 3.938 kB / 454.1 MB, free: 6.738 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.003784, allocations: 11.92 kB / 454.1 MB, free: 6.727 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004003, allocations: 23.95 kB / 454.2 MB, free: 6.703 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.004212, allocations: 107.8 kB / 454.3 MB, free: 6.598 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.004258, allocations: 0 / 454.3 MB, free: 6.598 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004359, allocations: 55.88 kB / 454.3 MB, free: 6.543 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.95e-05/0.004458, allocations: 27.95 kB / 454.4 MB, free: 6.516 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.004486, allocations: 4 kB / 454.4 MB, free: 6.512 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.004505, allocations: 8 kB / 454.4 MB, free: 6.504 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.004561, allocations: 27.91 kB / 454.4 MB, free: 6.477 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.004607, allocations: 31.95 kB / 454.4 MB, free: 6.445 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.004705, allocations: 47.75 kB / 454.5 MB, free: 6.398 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004708, allocations: 4 kB / 454.5 MB, free: 6.395 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00471, allocations: 4 kB / 454.5 MB, free: 6.391 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004713, allocations: 3.938 kB / 454.5 MB, free: 6.387 MB / 426.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.0005355/0.005249, allocations: 420.5 kB / 454.9 MB, free: 5.938 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.005289, allocations: 12.03 kB / 454.9 MB, free: 5.926 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.005334, allocations: 12.89 kB / 454.9 MB, free: 5.914 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.005485, allocations: 120.6 kB / 455 MB, free: 5.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.005503, allocations: 12.38 kB / 455 MB, free: 5.758 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.005533, allocations: 4.375 kB / 455 MB, free: 5.754 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.005649, allocations: 58.22 kB / 455.1 MB, free: 5.691 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005659, allocations: 192 / 455.1 MB, free: 5.691 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005672, allocations: 4.375 kB / 455.1 MB, free: 5.688 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.005679, allocations: 4.375 kB / 455.1 MB, free: 5.684 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.005731, allocations: 27.84 kB / 455.1 MB, free: 5.656 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.005914, allocations: 137.1 kB / 455.3 MB, free: 5.496 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.006233, allocations: 99 kB / 455.4 MB, free: 5.387 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.006283, allocations: 27.67 kB / 455.4 MB, free: 5.355 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.006296, allocations: 4 kB / 455.4 MB, free: 5.352 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.006325, allocations: 33.39 kB / 455.4 MB, free: 5.309 MB / 426.8 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.006327, allocations: 0 / 455.4 MB, free: 5.309 MB / 426.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005206/0.006848, allocations: 165.4 kB / 455.6 MB, free: 5.137 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.006878, allocations: 51.41 kB / 455.6 MB, free: 5.074 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.006958, allocations: 157.9 kB / 455.8 MB, free: 4.902 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.006976, allocations: 29.7 kB / 455.8 MB, free: 4.867 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.007033, allocations: 134.8 kB / 456 MB, free: 4.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.0071, allocations: 59.52 kB / 456 MB, free: 4.672 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.00716, allocations: 43.36 kB / 456.1 MB, free: 4.621 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.007301, allocations: 0.4923 MB / 456.6 MB, free: 4.117 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.007344, allocations: 15.98 kB / 456.6 MB, free: 4.102 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.007435, allocations: 74.39 kB / 456.6 MB, free: 4.008 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.007564, allocations: 98.36 kB / 456.7 MB, free: 3.891 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007567, allocations: 0 / 456.7 MB, free: 3.891 MB / 426.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003249/0.007892, allocations: 161.5 kB / 456.9 MB, free: 3.723 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.007909, allocations: 4.125 kB / 456.9 MB, free: 3.719 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007915, allocations: 4 kB / 456.9 MB, free: 3.715 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.008166, allocations: 51.62 kB / 457 MB, free: 3.66 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.008278, allocations: 31.92 kB / 457 MB, free: 3.629 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.009552, allocations: 1.803 MB / 458.8 MB, free: 1.707 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.009608, allocations: 7.953 kB / 458.8 MB, free: 1.699 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.009619, allocations: 8 kB / 458.8 MB, free: 1.691 MB / 426.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 9.191e-05/0.009711, allocations: 168.5 kB / 459 MB, free: 1.516 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.009733, allocations: 7.953 kB / 459 MB, free: 1.508 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.009767, allocations: 24.09 kB / 459 MB, free: 1.488 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009769, allocations: 4 kB / 459 MB, free: 1.484 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.009777, allocations: 4 kB / 459 MB, free: 1.48 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.009784, allocations: 0 / 459 MB, free: 1.48 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/0.009878, allocations: 117.2 kB / 459.1 MB, free: 1.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.009882, allocations: 3.984 kB / 459.1 MB, free: 1.336 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.009978, allocations: 24 kB / 459.2 MB, free: 1.312 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.01011, allocations: 55.61 kB / 459.2 MB, free: 1.254 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01013, allocations: 4 kB / 459.2 MB, free: 1.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/0.01097, allocations: 1.799 MB / 461 MB, free: 15.33 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01098, allocations: 0 / 461 MB, free: 15.33 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.01119, allocations: 203.8 kB / 461.2 MB, free: 15.11 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.0112, allocations: 11.89 kB / 461.2 MB, free: 15.09 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.01121, allocations: 0 / 461.2 MB, free: 15.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.01123, allocations: 8 kB / 461.2 MB, free: 15.09 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.01125, allocations: 7.969 kB / 461.2 MB, free: 15.08 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.01126, allocations: 7.938 kB / 461.2 MB, free: 15.07 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.058e-05/0.01129, allocations: 127.2 kB / 461.4 MB, free: 14.95 MB / 442.8 MB Notification: Performance of sort global known variables: time 3e-08/0.01129, allocations: 3.938 kB / 461.4 MB, free: 14.94 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001466/0.01144, allocations: 28 kB / 461.4 MB, free: 14.91 MB / 442.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 9.309e-05/0.01153, allocations: 99.23 kB / 461.5 MB, free: 14.81 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.01181, allocations: 269.3 kB / 461.8 MB, free: 14.52 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01181, allocations: 0 / 461.8 MB, free: 14.52 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.01195, allocations: 241.6 kB / 462 MB, free: 14.27 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.01209, allocations: 4 kB / 462 MB, free: 14.26 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.01258, allocations: 485.7 kB / 462.5 MB, free: 13.76 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01262, allocations: 71.33 kB / 462.5 MB, free: 13.67 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.01264, allocations: 0.5 kB / 462.5 MB, free: 13.66 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.0127, allocations: 78.2 kB / 462.6 MB, free: 13.59 MB / 442.8 MB Notification: Performance of SimCode: time 1.142e-06/0.0127, allocations: 0 / 462.6 MB, free: 13.59 MB / 442.8 MB Notification: Performance of Templates: time 0.003314/0.01601, allocations: 1.496 MB / 464.1 MB, free: 12.15 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.4208892448805273]