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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.005/1.005, allocations: 120.6 MB / 434.5 MB, free: 0.8242 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.91 kB / 0.6068 GB, free: 10.93 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 85.86 MB / 0.6906 GB, free: 4.855 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002494/0.1618, allocations: 1.238 MB / 0.6918 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.162, allocations: 51.86 kB / 0.6919 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.1621, allocations: 0 / 0.6919 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.777e-05/0.1622, allocations: 3.938 kB / 0.6919 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.1622, allocations: 7.984 kB / 0.6919 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1624, allocations: 27.89 kB / 0.6919 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1626, allocations: 103.8 kB / 0.692 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1626, allocations: 3.984 kB / 0.692 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.1627, allocations: 43.91 kB / 0.692 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.1628, allocations: 35.94 kB / 0.6921 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1628, allocations: 4 kB / 0.6921 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1628, allocations: 4 kB / 0.6921 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1629, allocations: 23.91 kB / 0.6921 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.1629, allocations: 31.86 kB / 0.6921 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.163, allocations: 56.08 kB / 0.6922 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.163, allocations: 0 / 0.6922 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.172e-06/0.163, allocations: 0 / 0.6922 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1631, allocations: 0 / 0.6922 GB, free: 3.219 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.0006477/0.1637, allocations: 326.6 kB / 0.6925 GB, free: 2.867 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1637, allocations: 12.03 kB / 0.6925 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.1638, allocations: 34.75 kB / 0.6925 GB, free: 2.812 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1638, allocations: 8.938 kB / 0.6926 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.164, allocations: 126.4 kB / 0.6927 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.164, allocations: 8.375 kB / 0.6927 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.1641, allocations: 12.36 kB / 0.6927 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1643, allocations: 86.14 kB / 0.6928 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1643, allocations: 7.938 kB / 0.6928 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1643, allocations: 0 / 0.6928 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1643, allocations: 0 / 0.6928 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.232e-05/0.1644, allocations: 39.97 kB / 0.6928 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.1647, allocations: 188.6 kB / 0.693 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.165, allocations: 138.4 kB / 0.6931 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.1651, allocations: 48.83 kB / 0.6932 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1651, allocations: 0 / 0.6932 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1652, allocations: 34.56 kB / 0.6932 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1652, allocations: 0 / 0.6932 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007277/0.1659, allocations: 230.5 kB / 0.6934 GB, free: 1.801 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.166, allocations: 55.41 kB / 0.6935 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.166, allocations: 97.86 kB / 0.6936 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1661, allocations: 33.64 kB / 0.6936 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.1661, allocations: 80.14 kB / 0.6937 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1662, allocations: 63.52 kB / 0.6937 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1662, allocations: 37.72 kB / 0.6938 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1664, allocations: 326.8 kB / 0.6941 GB, free: 1.074 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.1665, allocations: 47.95 kB / 0.6941 GB, free: 1.027 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1666, allocations: 96.19 kB / 0.6942 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1668, allocations: 148.2 kB / 0.6944 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1668, allocations: 3.938 kB / 0.6944 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000455/0.1672, allocations: 218.7 kB / 0.6946 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1673, allocations: 16.06 kB / 0.6946 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1673, allocations: 0 / 0.6946 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.1676, allocations: 60.97 kB / 0.6947 GB, free: 464 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1677, allocations: 39.92 kB / 0.6947 GB, free: 424 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.1693, allocations: 1.475 MB / 0.6961 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.1694, allocations: 11.98 kB / 0.6961 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1694, allocations: 11.94 kB / 0.6962 GB, free: 14.79 MB / 0.5295 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.0001042/0.1695, allocations: 117.8 kB / 0.6963 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1695, allocations: 7.953 kB / 0.6963 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.1696, allocations: 16.06 kB / 0.6963 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1696, allocations: 0 / 0.6963 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1696, allocations: 4 kB / 0.6963 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1696, allocations: 4.062 kB / 0.6963 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1698, allocations: 180.6 kB / 0.6965 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1698, allocations: 0 / 0.6965 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1699, allocations: 35.86 kB / 0.6965 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.1702, allocations: 60.8 kB / 0.6966 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1702, allocations: 4 kB / 0.6966 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.1717, allocations: 1.494 MB / 0.698 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1717, allocations: 0 / 0.698 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.1722, allocations: 253.8 kB / 0.6983 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1722, allocations: 11.89 kB / 0.6983 GB, free: 12.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1722, allocations: 8.062 kB / 0.6983 GB, free: 12.42 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.1722, allocations: 0 / 0.6983 GB, free: 12.42 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1723, allocations: 23.84 kB / 0.6983 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1723, allocations: 4 kB / 0.6983 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.1723, allocations: 75.28 kB / 0.6984 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 0 / 0.6984 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002366/0.1726, allocations: 32 kB / 0.6984 GB, free: 12.29 MB / 0.5295 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.0007896/0.1734, allocations: 0.7834 MB / 0.6992 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.1739, allocations: 258.6 kB / 0.6994 GB, free: 11.21 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1739, allocations: 4.062 kB / 0.6994 GB, free: 11.2 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.1742, allocations: 190.5 kB / 0.6996 GB, free: 11 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1744, allocations: 4 kB / 0.6996 GB, free: 11 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1771, allocations: 2.206 MB / 0.7018 GB, free: 8.68 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1774, allocations: 0.7041 MB / 0.7025 GB, free: 7.949 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.1775, allocations: 28.45 kB / 0.7025 GB, free: 7.922 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1775, allocations: 27.38 kB / 0.7025 GB, free: 7.895 MB / 0.5295 GB Notification: Performance of SimCode: time 7.01e-07/0.1775, allocations: 0 / 0.7025 GB, free: 7.895 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.2104, allocations: 2.985 MB / 0.7054 GB, free: 5.086 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 7.984 kB / 0.7054 GB, free: 5.078 MB / 0.5295 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_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_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: 15.141283416887745]