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.0008326/0.0008327, allocations: 86.53 kB / 16.31 MB, free: 5.66 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.0008389/0.000839, allocations: 185.8 kB / 17.21 MB, free: 5.574 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.173/1.173, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6155/0.6155, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 82.84 MB / 0.5752 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.0009596/0.1189, allocations: 0.9299 MB / 0.5761 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.119, allocations: 43.89 kB / 0.5761 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.119, allocations: 0 / 0.5761 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.1191, allocations: 7.984 kB / 0.5761 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.1192, allocations: 7.922 kB / 0.5761 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.1193, allocations: 23.97 kB / 0.5761 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1194, allocations: 107.8 kB / 0.5762 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1195, allocations: 0 / 0.5762 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.1195, allocations: 39.91 kB / 0.5763 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.1196, allocations: 31.95 kB / 0.5763 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1196, allocations: 8 kB / 0.5763 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.1196, allocations: 7.938 kB / 0.5763 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.1197, allocations: 35.89 kB / 0.5764 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1197, allocations: 33.64 kB / 0.5764 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.939e-05/0.1198, allocations: 32.22 kB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1198, allocations: 4 kB / 0.5764 GB, free: 6.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1198, allocations: 0 / 0.5764 GB, free: 6.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.1198, allocations: 0 / 0.5764 GB, free: 6.812 MB / 446.1 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.0004694/0.1203, allocations: 399.1 kB / 0.5768 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.1203, allocations: 8.031 kB / 0.5768 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1203, allocations: 7.953 kB / 0.5768 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1205, allocations: 182.9 kB / 0.577 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1205, allocations: 8 kB / 0.577 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1205, allocations: 12 kB / 0.577 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1207, allocations: 81.64 kB / 0.5771 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1207, allocations: 4 kB / 0.5771 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1207, allocations: 7.984 kB / 0.5771 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1207, allocations: 0 / 0.5771 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.1208, allocations: 51.86 kB / 0.5772 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.121, allocations: 213.5 kB / 0.5774 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1213, allocations: 130.5 kB / 0.5775 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.1214, allocations: 52.83 kB / 0.5775 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1214, allocations: 0 / 0.5775 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1214, allocations: 38.56 kB / 0.5776 GB, free: 5.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.1214, allocations: 0 / 0.5776 GB, free: 5.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006027/0.122, allocations: 316 kB / 0.5779 GB, free: 5.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1221, allocations: 51.41 kB / 0.5779 GB, free: 5.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.1221, allocations: 97.84 kB / 0.578 GB, free: 4.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1222, allocations: 33.7 kB / 0.578 GB, free: 4.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.1222, allocations: 80.14 kB / 0.5781 GB, free: 4.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1223, allocations: 51.2 kB / 0.5782 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.1223, allocations: 8 kB / 0.5782 GB, free: 4.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.1223, allocations: 318.8 kB / 0.5785 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.1224, allocations: 47.97 kB / 0.5785 GB, free: 4.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.1225, allocations: 94.42 kB / 0.5786 GB, free: 4.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.1226, allocations: 67.92 kB / 0.5787 GB, free: 4.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1226, allocations: 0 / 0.5787 GB, free: 4.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003664/0.123, allocations: 230.1 kB / 0.5789 GB, free: 4.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.123, allocations: 10.19 kB / 0.5789 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.123, allocations: 0 / 0.5789 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1233, allocations: 60.92 kB / 0.579 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1234, allocations: 35.92 kB / 0.579 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1245, allocations: 1.468 MB / 0.5804 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.1246, allocations: 11.88 kB / 0.5805 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1246, allocations: 11.98 kB / 0.5805 GB, free: 2.277 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.1247, allocations: 125.8 kB / 0.5806 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.1247, allocations: 0 / 0.5806 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1248, allocations: 24.03 kB / 0.5806 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1248, allocations: 0 / 0.5806 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1248, allocations: 3.953 kB / 0.5806 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1248, allocations: 0 / 0.5806 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1249, allocations: 209.8 kB / 0.5808 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1249, allocations: 0 / 0.5808 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1251, allocations: 31.92 kB / 0.5808 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.1253, allocations: 60.78 kB / 0.5809 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1253, allocations: 8 kB / 0.5809 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1264, allocations: 1.468 MB / 0.5823 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1264, allocations: 7.938 kB / 0.5823 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.368/0.4944, allocations: 249.2 kB / 0.5826 GB, free: 16.11 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4945, allocations: 85.22 kB / 0.5827 GB, free: 16.01 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4945, allocations: 9.047 kB / 0.5827 GB, free: 16.01 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.4946, allocations: 3.562 kB / 0.5827 GB, free: 16.01 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4946, allocations: 13.39 kB / 0.5827 GB, free: 16.01 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.4946, allocations: 3.094 kB / 0.5827 GB, free: 16.01 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.236e-05/0.4947, allocations: 80.86 kB / 0.5828 GB, free: 15.94 MB / 446.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4947, allocations: 0 / 0.5828 GB, free: 15.94 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000238/0.4949, allocations: 29.72 kB / 0.5828 GB, free: 15.94 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.716e-05/0.495, allocations: 98.19 kB / 0.5829 GB, free: 15.85 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.4955, allocations: 260.2 kB / 0.5831 GB, free: 15.74 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4955, allocations: 0.6562 kB / 0.5831 GB, free: 15.74 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.4957, allocations: 196.3 kB / 0.5833 GB, free: 15.62 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.4959, allocations: 10.47 kB / 0.5833 GB, free: 15.62 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.4967, allocations: 0.7924 MB / 0.5841 GB, free: 15.12 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.4968, allocations: 0.7055 MB / 0.5848 GB, free: 14.42 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.4969, allocations: 29.39 kB / 0.5848 GB, free: 14.42 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.4969, allocations: 12.03 kB / 0.5848 GB, free: 14.41 MB / 446.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4969, allocations: 0 / 0.5848 GB, free: 14.41 MB / 446.3 MB Notification: Performance of Templates: time 0.003232/0.5001, allocations: 1.219 MB / 0.586 GB, free: 14.36 MB / 446.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/jenkins/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