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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108 kB / 16.51 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 197.4 kB / 17.42 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9542/0.9542, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.09 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5001, allocations: 80.69 MB / 0.5691 GB, free: 43.65 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002206/0.5024, allocations: 1.272 MB / 0.5703 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001837/0.5026, allocations: 43.09 kB / 0.5703 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.5026, allocations: 0 / 0.5703 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.394e-05/0.5027, allocations: 5 kB / 0.5703 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.5028, allocations: 10.3 kB / 0.5704 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.503, allocations: 20.48 kB / 0.5704 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.5031, allocations: 124.4 kB / 0.5705 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.5032, allocations: 5.188 kB / 0.5705 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.5032, allocations: 44.88 kB / 0.5705 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.5033, allocations: 38.44 kB / 0.5706 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.5034, allocations: 4.531 kB / 0.5706 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.5034, allocations: 4.531 kB / 0.5706 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.5034, allocations: 28.5 kB / 0.5706 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.5035, allocations: 26.42 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.5036, allocations: 50.28 kB / 0.5707 GB, free: 42.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5036, allocations: 0 / 0.5707 GB, free: 42.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5036, allocations: 1.062 kB / 0.5707 GB, free: 42.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.5036, allocations: 0 / 0.5707 GB, free: 42.42 MB / 462.3 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.0005888/0.5042, allocations: 409.3 kB / 0.5711 GB, free: 42.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5043, allocations: 12.75 kB / 0.5711 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.5043, allocations: 4.656 kB / 0.5711 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5044, allocations: 190 kB / 0.5713 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5045, allocations: 11.69 kB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.5045, allocations: 7.375 kB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.5047, allocations: 85.3 kB / 0.5714 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5047, allocations: 5.453 kB / 0.5714 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5047, allocations: 5.281 kB / 0.5714 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5047, allocations: 1.344 kB / 0.5714 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.5048, allocations: 43.84 kB / 0.5714 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.505, allocations: 208 kB / 0.5716 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.5054, allocations: 139.9 kB / 0.5718 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.5055, allocations: 49.77 kB / 0.5718 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5055, allocations: 5.328 kB / 0.5718 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.5056, allocations: 31.75 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5056, allocations: 0 / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007432/0.5063, allocations: 313.3 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.5063, allocations: 52.75 kB / 0.5722 GB, free: 41.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/0.5064, allocations: 102 kB / 0.5723 GB, free: 40.94 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5064, allocations: 30.92 kB / 0.5723 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.5064, allocations: 81.58 kB / 0.5724 GB, free: 40.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.5065, allocations: 52.75 kB / 0.5724 GB, free: 40.78 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.5065, allocations: 44.83 kB / 0.5725 GB, free: 40.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.5066, allocations: 325.5 kB / 0.5728 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.5067, allocations: 48.8 kB / 0.5728 GB, free: 40.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.5068, allocations: 89.47 kB / 0.5729 GB, free: 40.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.507, allocations: 155.7 kB / 0.5731 GB, free: 40.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.507, allocations: 0 / 0.5731 GB, free: 40.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000416/0.5074, allocations: 226.1 kB / 0.5733 GB, free: 40.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5074, allocations: 12.34 kB / 0.5733 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5074, allocations: 1.438 kB / 0.5733 GB, free: 40.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.5078, allocations: 57.61 kB / 0.5734 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5079, allocations: 39.11 kB / 0.5734 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.509, allocations: 1.464 MB / 0.5748 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.5091, allocations: 10.31 kB / 0.5748 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5091, allocations: 5 kB / 0.5748 GB, free: 38.62 MB / 462.3 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 8.113e-05/0.5092, allocations: 132.1 kB / 0.575 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.5092, allocations: 2.5 kB / 0.575 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.5092, allocations: 21.42 kB / 0.575 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5093, allocations: 1.547 kB / 0.575 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5093, allocations: 1.156 kB / 0.575 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5093, allocations: 0 / 0.575 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.5094, allocations: 215.8 kB / 0.5752 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5094, allocations: 5.516 kB / 0.5752 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5096, allocations: 25.56 kB / 0.5752 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.5098, allocations: 68.25 kB / 0.5753 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5099, allocations: 2.781 kB / 0.5753 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/0.5108, allocations: 1.456 MB / 0.5767 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5109, allocations: 0 / 0.5767 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.5113, allocations: 265.8 kB / 0.577 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.5113, allocations: 91.2 kB / 0.5771 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5114, allocations: 6.203 kB / 0.5771 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.5114, allocations: 8.938 kB / 0.5771 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.5115, allocations: 9.641 kB / 0.5771 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.5115, allocations: 2.219 kB / 0.5771 GB, free: 36.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.124e-05/0.5115, allocations: 85.47 kB / 0.5772 GB, free: 36.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5115, allocations: 0 / 0.5772 GB, free: 36.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000243/0.5118, allocations: 27.94 kB / 0.5772 GB, free: 36.4 MB / 462.3 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.988e-05/0.5118, allocations: 106 kB / 0.5773 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.5123, allocations: 255.5 kB / 0.5775 GB, free: 36.13 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5124, allocations: 4.25 kB / 0.5775 GB, free: 36.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.5126, allocations: 196.1 kB / 0.5777 GB, free: 35.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5128, allocations: 11.34 kB / 0.5777 GB, free: 35.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.5137, allocations: 0.6642 MB / 0.5784 GB, free: 35.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.5138, allocations: 0.701 MB / 0.5791 GB, free: 34.7 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.5139, allocations: 32.25 kB / 0.5791 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.5139, allocations: 11.44 kB / 0.5791 GB, free: 34.68 MB / 462.3 MB Notification: Performance of SimCode: time 1.91e-07/0.5139, allocations: 0 / 0.5791 GB, free: 34.68 MB / 462.3 MB Notification: Performance of Templates: time 0.003596/0.5175, allocations: 1.293 MB / 0.5804 GB, free: 34.07 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches