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.001277/0.001277, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001243/0.001243, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.298/1.298, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8956/0.8956, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4824, allocations: 80.68 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002149/0.4846, allocations: 1.212 MB / 0.5723 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001812/0.4848, allocations: 43.47 kB / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.4848, allocations: 0 / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.676e-05/0.4849, allocations: 3.984 kB / 0.5724 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.485, allocations: 11.38 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.4851, allocations: 23.84 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4853, allocations: 103.2 kB / 0.5725 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.912e-05/0.4854, allocations: 1.438 kB / 0.5725 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.4854, allocations: 40.91 kB / 0.5726 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.4855, allocations: 35.73 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.4855, allocations: 5.406 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.4856, allocations: 4.031 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.4856, allocations: 37.36 kB / 0.5726 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.4857, allocations: 23.11 kB / 0.5727 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.174e-05/0.4858, allocations: 57.3 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4858, allocations: 0 / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4858, allocations: 1.25 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4858, allocations: 0 / 0.5727 GB, free: 42.32 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.0005312/0.4863, allocations: 399.1 kB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4864, allocations: 12.89 kB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.4864, allocations: 5.219 kB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4866, allocations: 189 kB / 0.5733 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4866, allocations: 8.062 kB / 0.5733 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.4866, allocations: 10.34 kB / 0.5733 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4868, allocations: 87.23 kB / 0.5734 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4868, allocations: 1.375 kB / 0.5734 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4868, allocations: 7.938 kB / 0.5734 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4868, allocations: 1.25 kB / 0.5734 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.4869, allocations: 48.7 kB / 0.5734 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.4871, allocations: 208.5 kB / 0.5736 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4875, allocations: 134.8 kB / 0.5738 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.4876, allocations: 50.23 kB / 0.5738 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4876, allocations: 0.9688 kB / 0.5738 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.4876, allocations: 40.34 kB / 0.5739 GB, free: 41.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.4876, allocations: 0 / 0.5739 GB, free: 41.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006591/0.4883, allocations: 312.9 kB / 0.5742 GB, free: 41.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.4883, allocations: 56.53 kB / 0.5742 GB, free: 40.95 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.4884, allocations: 98.09 kB / 0.5743 GB, free: 40.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4884, allocations: 30.98 kB / 0.5743 GB, free: 40.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.4884, allocations: 81.77 kB / 0.5744 GB, free: 40.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4885, allocations: 53.56 kB / 0.5745 GB, free: 40.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.4885, allocations: 43.39 kB / 0.5745 GB, free: 40.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.4886, allocations: 321.2 kB / 0.5748 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.4886, allocations: 57 kB / 0.5749 GB, free: 40.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.4888, allocations: 85.98 kB / 0.5749 GB, free: 40.24 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.4889, allocations: 150.7 kB / 0.5751 GB, free: 40.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.489, allocations: 1.344 kB / 0.5751 GB, free: 40.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000409/0.4894, allocations: 225.3 kB / 0.5753 GB, free: 40.02 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4894, allocations: 15.06 kB / 0.5753 GB, free: 40.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4894, allocations: 1.406 kB / 0.5753 GB, free: 40.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.4897, allocations: 62.42 kB / 0.5754 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4899, allocations: 29.98 kB / 0.5754 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.491, allocations: 1.58 MB / 0.577 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.4911, allocations: 19.08 kB / 0.577 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4911, allocations: 9.219 kB / 0.577 GB, free: 38.41 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.091e-05/0.4912, allocations: 135.8 kB / 0.5771 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.4912, allocations: 2.125 kB / 0.5771 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4913, allocations: 13.03 kB / 0.5771 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4913, allocations: 1.156 kB / 0.5771 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4913, allocations: 4.953 kB / 0.5771 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4913, allocations: 0.9062 kB / 0.5771 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4915, allocations: 215.8 kB / 0.5773 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4915, allocations: 0 / 0.5773 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.4916, allocations: 26.55 kB / 0.5774 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.4919, allocations: 58.98 kB / 0.5774 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4919, allocations: 7.297 kB / 0.5774 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.4929, allocations: 1.586 MB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4929, allocations: 1.156 kB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.4933, allocations: 253.5 kB / 0.5792 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.4933, allocations: 87.39 kB / 0.5793 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4934, allocations: 14.86 kB / 0.5793 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.4934, allocations: 1.062 kB / 0.5793 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4935, allocations: 8.609 kB / 0.5793 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.4935, allocations: 10.28 kB / 0.5793 GB, free: 36.17 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.4935, allocations: 77.41 kB / 0.5794 GB, free: 36.1 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4935, allocations: 1.062 kB / 0.5794 GB, free: 36.1 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002283/0.4937, allocations: 27.34 kB / 0.5794 GB, free: 36.09 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 9.139e-05/0.4938, allocations: 112.9 kB / 0.5795 GB, free: 35.99 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.4943, allocations: 262 kB / 0.5798 GB, free: 35.81 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4943, allocations: 0 / 0.5798 GB, free: 35.81 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.4945, allocations: 191.8 kB / 0.58 GB, free: 35.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4947, allocations: 7.406 kB / 0.58 GB, free: 35.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.4955, allocations: 0.6657 MB / 0.5806 GB, free: 35.1 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.4956, allocations: 0.6969 MB / 0.5813 GB, free: 34.4 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.4957, allocations: 29.02 kB / 0.5813 GB, free: 34.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.4957, allocations: 15.56 kB / 0.5814 GB, free: 34.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4957, allocations: 0 / 0.5814 GB, free: 34.38 MB / 462.3 MB Notification: Performance of Templates: time 0.00364/0.4993, allocations: 1.303 MB / 0.5826 GB, free: 33.77 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches