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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 200.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.415/1.415, allocations: 120.6 MB / 426.5 MB, free: 5.789 MB / 334.1 MB " [Timeout remaining time 178] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 0.5965 GB, free: 17.36 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2083, allocations: 84.64 MB / 0.6792 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.00273/0.211, allocations: 1.223 MB / 0.6804 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.2112, allocations: 39.92 kB / 0.6804 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.2113, allocations: 4 kB / 0.6804 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2114, allocations: 7.922 kB / 0.6804 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.2115, allocations: 0 / 0.6804 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.2117, allocations: 27.89 kB / 0.6805 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2119, allocations: 103.8 kB / 0.6806 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.2119, allocations: 11.98 kB / 0.6806 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.212, allocations: 39.89 kB / 0.6806 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2121, allocations: 27.97 kB / 0.6806 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2121, allocations: 4 kB / 0.6806 GB, free: 11 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.2121, allocations: 4 kB / 0.6807 GB, free: 11 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.2122, allocations: 39.88 kB / 0.6807 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2123, allocations: 19.92 kB / 0.6807 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2124, allocations: 59.73 kB / 0.6808 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2124, allocations: 0 / 0.6808 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2124, allocations: 0 / 0.6808 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2124, allocations: 0 / 0.6808 GB, free: 10.88 MB / 0.5139 GB 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.0007357/0.2131, allocations: 403.3 kB / 0.6812 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2132, allocations: 11.89 kB / 0.6812 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.2132, allocations: 12.89 kB / 0.6812 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2135, allocations: 180.3 kB / 0.6813 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2135, allocations: 8.375 kB / 0.6814 GB, free: 10.19 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.2135, allocations: 16.33 kB / 0.6814 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2137, allocations: 82.2 kB / 0.6814 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2137, allocations: 192 / 0.6814 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2137, allocations: 3.938 kB / 0.6815 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2137, allocations: 4 kB / 0.6815 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.2138, allocations: 47.89 kB / 0.6815 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2142, allocations: 209.6 kB / 0.6817 GB, free: 9.781 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.2146, allocations: 138.8 kB / 0.6818 GB, free: 9.637 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.2147, allocations: 44.83 kB / 0.6819 GB, free: 9.59 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2147, allocations: 0 / 0.6819 GB, free: 9.59 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.2147, allocations: 38.56 kB / 0.6819 GB, free: 9.543 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.2147, allocations: 4 kB / 0.6819 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007769/0.2155, allocations: 307.6 kB / 0.6822 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2156, allocations: 55.41 kB / 0.6823 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.2156, allocations: 101.8 kB / 0.6824 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2157, allocations: 33.64 kB / 0.6824 GB, free: 8.996 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2157, allocations: 84.14 kB / 0.6825 GB, free: 8.91 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.2158, allocations: 47.59 kB / 0.6825 GB, free: 8.863 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.2159, allocations: 49.7 kB / 0.6826 GB, free: 8.809 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.216, allocations: 322.8 kB / 0.6829 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.2161, allocations: 43.97 kB / 0.6829 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2163, allocations: 96.14 kB / 0.683 GB, free: 8.332 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.2165, allocations: 156.2 kB / 0.6832 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2165, allocations: 0 / 0.6832 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004509/0.2169, allocations: 218.2 kB / 0.6834 GB, free: 7.941 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.217, allocations: 16.06 kB / 0.6834 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.217, allocations: 0 / 0.6834 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2173, allocations: 56.8 kB / 0.6834 GB, free: 7.867 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2174, allocations: 39.92 kB / 0.6835 GB, free: 7.828 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2191, allocations: 1.585 MB / 0.685 GB, free: 6.098 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.2192, allocations: 15.97 kB / 0.685 GB, free: 6.082 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2192, allocations: 4 kB / 0.685 GB, free: 6.078 MB / 0.5139 GB 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 0.0001143/0.2193, allocations: 125.7 kB / 0.6852 GB, free: 5.945 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.2193, allocations: 4 kB / 0.6852 GB, free: 5.941 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.2194, allocations: 15.97 kB / 0.6852 GB, free: 5.93 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2194, allocations: 3.984 kB / 0.6852 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2194, allocations: 0 / 0.6852 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2194, allocations: 8.062 kB / 0.6852 GB, free: 5.918 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2196, allocations: 205.5 kB / 0.6854 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2196, allocations: 0 / 0.6854 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.2198, allocations: 31.92 kB / 0.6854 GB, free: 5.637 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.22, allocations: 56.8 kB / 0.6855 GB, free: 5.578 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.22, allocations: 7.984 kB / 0.6855 GB, free: 5.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.2215, allocations: 1.586 MB / 0.687 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2215, allocations: 0 / 0.687 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.222, allocations: 264.5 kB / 0.6873 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.2221, allocations: 89 kB / 0.6874 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2221, allocations: 12.05 kB / 0.6874 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.2221, allocations: 4 kB / 0.6874 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2222, allocations: 11.98 kB / 0.6874 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2222, allocations: 3.938 kB / 0.6874 GB, free: 3.434 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.2222, allocations: 79.28 kB / 0.6875 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.2222, allocations: 0 / 0.6875 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002322/0.2225, allocations: 28 kB / 0.6875 GB, free: 3.328 MB / 0.5139 GB 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 0.0001501/0.2226, allocations: 107.8 kB / 0.6876 GB, free: 3.211 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.2232, allocations: 255.1 kB / 0.6878 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2232, allocations: 0 / 0.6878 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.2235, allocations: 190.7 kB / 0.688 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.2237, allocations: 8.156 kB / 0.688 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2249, allocations: 0.6648 MB / 0.6887 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2252, allocations: 0.7041 MB / 0.6894 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.208e-05/0.2253, allocations: 32.52 kB / 0.6894 GB, free: 1.289 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2253, allocations: 11.44 kB / 0.6894 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of SimCode: time 4.4e-07/0.2253, allocations: 0 / 0.6894 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of Templates: time 0.005109/0.2304, allocations: 1.364 MB / 0.6907 GB, free: 15.96 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.861560226418078]