Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00139/0.00139, allocations: 93.39 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.001747/0.001747, allocations: 185.3 kB / 17.56 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.375/1.375, allocations: 223.2 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9705/0.9705, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.000366, allocations: 8 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.5879, allocations: 82.84 MB / 0.5758 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001211/0.5892, allocations: 0.9424 MB / 0.5767 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.5894, allocations: 50.8 kB / 0.5768 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.5894, allocations: 3.938 kB / 0.5768 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.5895, allocations: 1.656 kB / 0.5768 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.5896, allocations: 5.359 kB / 0.5768 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.5898, allocations: 22.58 kB / 0.5768 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.5899, allocations: 125.7 kB / 0.5769 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.59, allocations: 3 kB / 0.5769 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.5901, allocations: 40.05 kB / 0.5769 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.5901, allocations: 34.27 kB / 0.577 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.5902, allocations: 7.906 kB / 0.577 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.5902, allocations: 4.375 kB / 0.577 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.5903, allocations: 29.89 kB / 0.577 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.5903, allocations: 52.66 kB / 0.5771 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.528e-05/0.5904, allocations: 55.33 kB / 0.5771 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5904, allocations: 0 / 0.5771 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5904, allocations: 0 / 0.5771 GB, free: 40.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.5904, allocations: 0 / 0.5771 GB, free: 40.96 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.0005719/0.591, allocations: 389 kB / 0.5775 GB, free: 40.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5911, allocations: 8.594 kB / 0.5775 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.5911, allocations: 13.05 kB / 0.5775 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5913, allocations: 185.8 kB / 0.5777 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5913, allocations: 7.109 kB / 0.5777 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.5913, allocations: 19.19 kB / 0.5777 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.5915, allocations: 81.7 kB / 0.5778 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5915, allocations: 1.562 kB / 0.5778 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.5915, allocations: 9.312 kB / 0.5778 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5916, allocations: 1.375 kB / 0.5778 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.5916, allocations: 51.2 kB / 0.5779 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.5919, allocations: 209.2 kB / 0.5781 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.5922, allocations: 135.3 kB / 0.5782 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.5923, allocations: 53.58 kB / 0.5782 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.5923, allocations: 1.375 kB / 0.5782 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.5923, allocations: 31.94 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.5924, allocations: 0 / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007076/0.5931, allocations: 313.6 kB / 0.5786 GB, free: 39.65 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.5931, allocations: 52.75 kB / 0.5786 GB, free: 39.59 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.5932, allocations: 101.9 kB / 0.5787 GB, free: 39.48 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5932, allocations: 27.02 kB / 0.5787 GB, free: 39.45 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.5932, allocations: 85.45 kB / 0.5788 GB, free: 39.36 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5932, allocations: 49.89 kB / 0.5789 GB, free: 39.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.5933, allocations: 24.23 kB / 0.5789 GB, free: 39.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.5933, allocations: 324.3 kB / 0.5792 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.5934, allocations: 53.72 kB / 0.5793 GB, free: 38.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5935, allocations: 93.84 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5937, allocations: 150 kB / 0.5795 GB, free: 38.78 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5937, allocations: 0.9375 kB / 0.5795 GB, free: 38.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004186/0.5942, allocations: 225.2 kB / 0.5797 GB, free: 38.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5942, allocations: 12.56 kB / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5942, allocations: 1.406 kB / 0.5797 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.5945, allocations: 61.77 kB / 0.5798 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5946, allocations: 33.95 kB / 0.5798 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.5958, allocations: 1.479 MB / 0.5813 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.5959, allocations: 10.59 kB / 0.5813 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.5959, allocations: 9.531 kB / 0.5813 GB, free: 37.16 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.104e-05/0.596, allocations: 132.6 kB / 0.5814 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.596, allocations: 2.75 kB / 0.5814 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.596, allocations: 12.91 kB / 0.5814 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.596, allocations: 1.812 kB / 0.5814 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.596, allocations: 0.9375 kB / 0.5814 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5961, allocations: 3.984 kB / 0.5814 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.5962, allocations: 207.9 kB / 0.5816 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5962, allocations: 0.9375 kB / 0.5816 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5964, allocations: 25.2 kB / 0.5816 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.5966, allocations: 64.08 kB / 0.5817 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.5967, allocations: 10.7 kB / 0.5817 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5977, allocations: 1.464 MB / 0.5831 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5977, allocations: 3.938 kB / 0.5831 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.5981, allocations: 267 kB / 0.5834 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.5982, allocations: 94.64 kB / 0.5835 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.5982, allocations: 10.64 kB / 0.5835 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.5983, allocations: 1.875 kB / 0.5835 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.5983, allocations: 12.58 kB / 0.5835 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.5983, allocations: 1.844 kB / 0.5835 GB, free: 35.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.228e-05/0.5983, allocations: 82.03 kB / 0.5836 GB, free: 34.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5983, allocations: 0 / 0.5836 GB, free: 34.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002417/0.5986, allocations: 28 kB / 0.5836 GB, free: 34.95 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.845e-05/0.5987, allocations: 103.8 kB / 0.5837 GB, free: 34.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.5992, allocations: 261.6 kB / 0.584 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5992, allocations: 4.25 kB / 0.584 GB, free: 34.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5994, allocations: 194.6 kB / 0.5842 GB, free: 34.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.5996, allocations: 10.47 kB / 0.5842 GB, free: 34.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.6005, allocations: 0.7826 MB / 0.5849 GB, free: 33.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.6007, allocations: 0.7045 MB / 0.5856 GB, free: 33.14 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.221e-05/0.6007, allocations: 32.78 kB / 0.5857 GB, free: 33.12 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.6008, allocations: 11.22 kB / 0.5857 GB, free: 33.12 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.6008, allocations: 1.281 kB / 0.5857 GB, free: 33.12 MB / 462.3 MB Notification: Performance of Templates: time 0.00366/0.6044, allocations: 1.252 MB / 0.5869 GB, free: 32.52 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches