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.002591/0.002591, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.00284/0.00284, allocations: 162.1 kB / 24.27 MB, free: 152 kB / 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 1.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9811/0.9811, allocations: 88.08 MB / 349.2 MB, free: 14.22 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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.462e-05, allocations: 2.312 kB / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002063/0.002097, allocations: 1.228 MB / 452 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002347/0.002332, allocations: 40.5 kB / 452.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.002372, allocations: 0 / 452.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002481, allocations: 6.969 kB / 452.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.00256, allocations: 7.219 kB / 452.1 MB, free: 32.28 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.002772, allocations: 22.92 kB / 452.1 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.002952, allocations: 113 kB / 452.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.002999, allocations: 10.08 kB / 452.2 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.003091, allocations: 44.84 kB / 452.3 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.003189, allocations: 32.22 kB / 452.3 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.003219, allocations: 4.875 kB / 452.3 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.003249, allocations: 2.969 kB / 452.3 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.003309, allocations: 35.95 kB / 452.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.003358, allocations: 19 kB / 452.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003467, allocations: 52.31 kB / 452.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003469, allocations: 2.594 kB / 452.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00347, allocations: 0 / 452.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.003476, allocations: 0 / 452.4 MB, free: 32.18 MB / 410.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.000592/0.004068, allocations: 430.8 kB / 452.8 MB, free: 31.8 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.00411, allocations: 11.66 kB / 452.9 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.004168, allocations: 11.92 kB / 452.9 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.004332, allocations: 129.3 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.004346, allocations: 7.094 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.00438, allocations: 9.406 kB / 453 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.00452, allocations: 66.47 kB / 453.1 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.004536, allocations: 7.016 kB / 453.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.004548, allocations: 4.375 kB / 453.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004554, allocations: 3.562 kB / 453.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.004631, allocations: 27.64 kB / 453.1 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.004829, allocations: 145.4 kB / 453.3 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.005174, allocations: 107.7 kB / 453.4 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.00523, allocations: 36.19 kB / 453.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.005244, allocations: 0 / 453.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.005264, allocations: 36.27 kB / 453.4 MB, free: 31.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.005265, allocations: 0 / 453.4 MB, free: 31.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0006401/0.005905, allocations: 180.7 kB / 453.6 MB, free: 31.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.005931, allocations: 54.38 kB / 453.7 MB, free: 31.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.005994, allocations: 166.7 kB / 453.8 MB, free: 31.01 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006005, allocations: 25.7 kB / 453.9 MB, free: 30.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.006032, allocations: 130.9 kB / 454 MB, free: 30.85 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.006081, allocations: 59.61 kB / 454 MB, free: 30.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.006138, allocations: 45.11 kB / 454.1 MB, free: 30.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.00622, allocations: 0.4983 MB / 454.6 MB, free: 30.26 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.006269, allocations: 19.81 kB / 454.6 MB, free: 30.26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.006337, allocations: 80.23 kB / 454.7 MB, free: 30.19 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.006471, allocations: 118.4 kB / 454.8 MB, free: 30.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006474, allocations: 3.938 kB / 454.8 MB, free: 30.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003242/0.006798, allocations: 175.5 kB / 455 MB, free: 30.02 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.006813, allocations: 6.5 kB / 455 MB, free: 30.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006818, allocations: 0 / 455 MB, free: 30.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.007158, allocations: 52.81 kB / 455 MB, free: 30 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.007273, allocations: 38.16 kB / 455.1 MB, free: 29.99 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.008377, allocations: 1.84 MB / 456.9 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.008439, allocations: 14.98 kB / 456.9 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.00845, allocations: 5.781 kB / 456.9 MB, free: 28.19 MB / 410.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.949e-05/0.00852, allocations: 163.5 kB / 457.1 MB, free: 28.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.00854, allocations: 17.7 kB / 457.1 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.008585, allocations: 19.36 kB / 457.1 MB, free: 28 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008586, allocations: 0 / 457.1 MB, free: 28 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008591, allocations: 6.812 kB / 457.1 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008595, allocations: 0 / 457.1 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.0087, allocations: 130.5 kB / 457.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008701, allocations: 0 / 457.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.008854, allocations: 34.09 kB / 457.3 MB, free: 27.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.009094, allocations: 54.47 kB / 457.3 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.009112, allocations: 6.969 kB / 457.3 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009259/0.01004, allocations: 1.838 MB / 459.2 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01004, allocations: 0 / 459.2 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.01039, allocations: 221.5 kB / 459.4 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.0104, allocations: 6.797 kB / 459.4 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.01042, allocations: 10.81 kB / 459.4 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.01047, allocations: 3.375 kB / 459.4 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.01051, allocations: 16.81 kB / 459.4 MB, free: 25.87 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01052, allocations: 2.875 kB / 459.4 MB, free: 25.87 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.122e-05/0.01055, allocations: 125.5 kB / 459.6 MB, free: 25.75 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01055, allocations: 0 / 459.6 MB, free: 25.75 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002164/0.01077, allocations: 30.69 kB / 459.6 MB, free: 25.74 MB / 410.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.748e-05/0.01087, allocations: 104.8 kB / 459.7 MB, free: 25.65 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.01131, allocations: 280 kB / 460 MB, free: 25.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01131, allocations: 0 / 460 MB, free: 25.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.01155, allocations: 231.5 kB / 460.2 MB, free: 25.25 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01173, allocations: 13.19 kB / 460.2 MB, free: 25.25 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.01236, allocations: 487.1 kB / 460.7 MB, free: 24.87 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.647e-05/0.01243, allocations: 88.8 kB / 460.8 MB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.01248, allocations: 25.11 kB / 460.8 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.01251, allocations: 13.75 kB / 460.8 MB, free: 24.79 MB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.01251, allocations: 4 kB / 460.8 MB, free: 24.78 MB / 410.8 MB Notification: Performance of Templates: time 0.004543/0.01705, allocations: 1.398 MB / 462.2 MB, free: 24.67 MB / 410.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0253597549162805]