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.001575/0.001575, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001719/0.001719, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.333/1.333, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] 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 0.8867/0.8867, allocations: 120.6 MB / 434.5 MB, free: 0.625 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.00188/0.00188, allocations: 67.89 kB / 0.6067 GB, free: 10.76 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1526, allocations: 85.86 MB / 0.6905 GB, free: 4.684 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.00265/0.1552, allocations: 1.225 MB / 0.6917 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.1555, allocations: 39.94 kB / 0.6918 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.1555, allocations: 7.938 kB / 0.6918 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.115e-05/0.1556, allocations: 4 kB / 0.6918 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.1557, allocations: 7.922 kB / 0.6918 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1559, allocations: 31.94 kB / 0.6918 GB, free: 3.363 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.156, allocations: 95.83 kB / 0.6919 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.1561, allocations: 11.94 kB / 0.6919 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.1562, allocations: 31.97 kB / 0.6919 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.1563, allocations: 31.94 kB / 0.692 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1563, allocations: 4 kB / 0.692 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.1563, allocations: 8 kB / 0.692 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.1564, allocations: 31.91 kB / 0.692 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.1564, allocations: 23.92 kB / 0.692 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1565, allocations: 56.02 kB / 0.6921 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.1565, allocations: 0 / 0.6921 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1565, allocations: 0 / 0.6921 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1566, allocations: 0 / 0.6921 GB, free: 3.074 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.0007067/0.1573, allocations: 330.6 kB / 0.6924 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1573, allocations: 12.03 kB / 0.6924 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1573, allocations: 38.69 kB / 0.6925 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1574, allocations: 4.938 kB / 0.6925 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1576, allocations: 122.5 kB / 0.6926 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1576, allocations: 8.359 kB / 0.6926 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1576, allocations: 12.38 kB / 0.6926 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1578, allocations: 86.19 kB / 0.6927 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1578, allocations: 7.938 kB / 0.6927 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1578, allocations: 8 kB / 0.6927 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1578, allocations: 0 / 0.6927 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.1579, allocations: 43.91 kB / 0.6927 GB, free: 2.344 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.1582, allocations: 188.5 kB / 0.6929 GB, free: 2.117 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.1586, allocations: 126.5 kB / 0.693 GB, free: 1.984 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.1587, allocations: 52.83 kB / 0.6931 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1587, allocations: 4 kB / 0.6931 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1587, allocations: 30.56 kB / 0.6931 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1587, allocations: 0 / 0.6931 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007449/0.1594, allocations: 238.5 kB / 0.6933 GB, free: 1.645 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.1595, allocations: 55.41 kB / 0.6934 GB, free: 1.578 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.1596, allocations: 97.84 kB / 0.6935 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1596, allocations: 29.7 kB / 0.6935 GB, free: 1.438 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.1597, allocations: 84.14 kB / 0.6936 GB, free: 1.352 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.1597, allocations: 51.55 kB / 0.6936 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.1598, allocations: 45.64 kB / 0.6937 GB, free: 1.25 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1599, allocations: 326.8 kB / 0.694 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.16, allocations: 51.97 kB / 0.6941 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1601, allocations: 87.34 kB / 0.6941 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1603, allocations: 148.2 kB / 0.6943 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1604, allocations: 0 / 0.6943 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004409/0.1608, allocations: 222.3 kB / 0.6945 GB, free: 396 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1608, allocations: 11.94 kB / 0.6945 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1608, allocations: 0 / 0.6945 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.1611, allocations: 60.8 kB / 0.6946 GB, free: 320 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1613, allocations: 35.95 kB / 0.6946 GB, free: 284 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.1629, allocations: 1.483 MB / 0.696 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.163, allocations: 11.95 kB / 0.6961 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.163, allocations: 7.938 kB / 0.6961 GB, free: 14.65 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.0001198/0.1631, allocations: 125.9 kB / 0.6962 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1631, allocations: 3.953 kB / 0.6962 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.1631, allocations: 20.06 kB / 0.6962 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1631, allocations: 0 / 0.6962 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1632, allocations: 3.938 kB / 0.6962 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1632, allocations: 0 / 0.6962 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1634, allocations: 180.6 kB / 0.6964 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1634, allocations: 0 / 0.6964 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.1635, allocations: 27.98 kB / 0.6964 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.1638, allocations: 60.8 kB / 0.6965 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1638, allocations: 4 kB / 0.6965 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.1652, allocations: 1.483 MB / 0.6979 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1652, allocations: 4.062 kB / 0.6979 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.1657, allocations: 253.7 kB / 0.6982 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.1657, allocations: 11.89 kB / 0.6982 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1657, allocations: 4 kB / 0.6982 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.1658, allocations: 8 kB / 0.6982 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1658, allocations: 19.84 kB / 0.6982 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1658, allocations: 4 kB / 0.6982 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.1659, allocations: 79.28 kB / 0.6983 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1659, allocations: 4 kB / 0.6983 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002441/0.1661, allocations: 28 kB / 0.6983 GB, free: 12.16 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.000786/0.1669, allocations: 0.7856 MB / 0.6991 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.1674, allocations: 258.5 kB / 0.6993 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1674, allocations: 8.188 kB / 0.6993 GB, free: 11.06 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.1677, allocations: 186.6 kB / 0.6995 GB, free: 10.87 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1679, allocations: 4.766 kB / 0.6995 GB, free: 10.86 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1706, allocations: 2.202 MB / 0.7017 GB, free: 8.543 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.534e-05/0.1707, allocations: 87.31 kB / 0.7017 GB, free: 8.438 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.039e-05/0.1708, allocations: 32.52 kB / 0.7018 GB, free: 8.406 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1708, allocations: 19.44 kB / 0.7018 GB, free: 8.387 MB / 0.5295 GB Notification: Performance of SimCode: time 5.11e-07/0.1708, allocations: 0 / 0.7018 GB, free: 8.387 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.2062, allocations: 3.326 MB / 0.705 GB, free: 5.238 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.21, allocations: 8.047 kB / 0.7051 GB, free: 5.23 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: 14.768742173910141]