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.001028/0.001028, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.001114/0.001114, allocations: 188.5 kB / 17.57 MB, free: 6.199 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.301/1.301, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.074/1.074, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 0.4949 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6223, allocations: 82.83 MB / 0.5758 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001181/0.6236, allocations: 0.9435 MB / 0.5767 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.6238, allocations: 42.91 kB / 0.5768 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.6238, allocations: 0 / 0.5768 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.724e-05/0.6239, allocations: 1.281 kB / 0.5768 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.624, allocations: 14.19 kB / 0.5768 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.6241, allocations: 19.77 kB / 0.5768 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.6243, allocations: 127.1 kB / 0.5769 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.6243, allocations: 2.875 kB / 0.5769 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.6244, allocations: 34.98 kB / 0.577 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.6245, allocations: 39.31 kB / 0.577 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.6245, allocations: 4.688 kB / 0.577 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.6245, allocations: 3.719 kB / 0.577 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.6246, allocations: 34.28 kB / 0.577 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.6247, allocations: 59.44 kB / 0.5771 GB, free: 40.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.024e-05/0.6247, allocations: 46.77 kB / 0.5771 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6248, allocations: 1 kB / 0.5771 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6248, allocations: 0 / 0.5771 GB, free: 40.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.6248, allocations: 0 / 0.5771 GB, free: 40.38 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.0005396/0.6253, allocations: 392.2 kB / 0.5775 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6254, allocations: 9.719 kB / 0.5775 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.6254, allocations: 4.281 kB / 0.5775 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.6255, allocations: 182.6 kB / 0.5777 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.6256, allocations: 6.781 kB / 0.5777 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.6256, allocations: 11.19 kB / 0.5777 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.6258, allocations: 90.41 kB / 0.5778 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.6258, allocations: 5.219 kB / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.6258, allocations: 12.81 kB / 0.5778 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6258, allocations: 0.9062 kB / 0.5778 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.6259, allocations: 44.25 kB / 0.5779 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.6262, allocations: 216.5 kB / 0.5781 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.6265, allocations: 135.5 kB / 0.5782 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.6266, allocations: 50.05 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.6267, allocations: 1 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.6267, allocations: 43.56 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.6267, allocations: 1 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006965/0.6274, allocations: 309.2 kB / 0.5786 GB, free: 39.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.6274, allocations: 53.19 kB / 0.5786 GB, free: 39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/0.6275, allocations: 97.52 kB / 0.5787 GB, free: 38.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.6275, allocations: 31.48 kB / 0.5788 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.6275, allocations: 85.91 kB / 0.5788 GB, free: 38.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.6276, allocations: 48.67 kB / 0.5789 GB, free: 38.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.6276, allocations: 24.91 kB / 0.5789 GB, free: 38.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.6277, allocations: 324.5 kB / 0.5792 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.6277, allocations: 52.12 kB / 0.5793 GB, free: 38.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.6278, allocations: 95.02 kB / 0.5794 GB, free: 38.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.628, allocations: 146.9 kB / 0.5795 GB, free: 38.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.628, allocations: 0 / 0.5795 GB, free: 38.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004134/0.6285, allocations: 229.1 kB / 0.5797 GB, free: 38.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6285, allocations: 9.312 kB / 0.5797 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6285, allocations: 5.062 kB / 0.5797 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.6288, allocations: 66.36 kB / 0.5798 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.6289, allocations: 30.58 kB / 0.5798 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.6301, allocations: 1.468 MB / 0.5813 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.6302, allocations: 10.56 kB / 0.5813 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.6302, allocations: 5.812 kB / 0.5813 GB, free: 36.59 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 7.76e-05/0.6303, allocations: 132.3 kB / 0.5814 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.6303, allocations: 6.688 kB / 0.5814 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.6303, allocations: 15.97 kB / 0.5814 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6304, allocations: 5.234 kB / 0.5814 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6304, allocations: 1.188 kB / 0.5814 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6304, allocations: 1.125 kB / 0.5814 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.6305, allocations: 212.1 kB / 0.5816 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6305, allocations: 0 / 0.5816 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.6307, allocations: 29.77 kB / 0.5817 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.6309, allocations: 59.05 kB / 0.5817 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6309, allocations: 4.125 kB / 0.5817 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000953/0.6319, allocations: 1.47 MB / 0.5831 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6319, allocations: 0 / 0.5831 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.6323, allocations: 262.3 kB / 0.5834 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.6324, allocations: 94.25 kB / 0.5835 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.6324, allocations: 4.125 kB / 0.5835 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.6324, allocations: 5.375 kB / 0.5835 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.6325, allocations: 8.109 kB / 0.5835 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.6325, allocations: 2.75 kB / 0.5835 GB, free: 34.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.258e-05/0.6325, allocations: 86.16 kB / 0.5836 GB, free: 34.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6325, allocations: 0 / 0.5836 GB, free: 34.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002265/0.6328, allocations: 31.38 kB / 0.5836 GB, free: 34.38 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.32e-05/0.6329, allocations: 106.5 kB / 0.5837 GB, free: 34.28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.6333, allocations: 259.5 kB / 0.584 GB, free: 34.1 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6334, allocations: 0.9062 kB / 0.584 GB, free: 34.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.6336, allocations: 191.8 kB / 0.5842 GB, free: 33.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.6338, allocations: 15.55 kB / 0.5842 GB, free: 33.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/0.6347, allocations: 0.7898 MB / 0.5849 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.6349, allocations: 0.7054 MB / 0.5856 GB, free: 32.56 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.635, allocations: 28.08 kB / 0.5857 GB, free: 32.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.635, allocations: 12.03 kB / 0.5857 GB, free: 32.54 MB / 462.3 MB Notification: Performance of SimCode: time 2.81e-07/0.635, allocations: 0 / 0.5857 GB, free: 32.54 MB / 462.3 MB Notification: Performance of Templates: time 0.003962/0.639, allocations: 1.27 MB / 0.5869 GB, free: 31.94 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