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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 112.6 kB / 17.07 MB, free: 5.988 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.001317/0.001317, allocations: 195 kB / 18 MB, free: 5.074 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.238/1.238, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8046/0.8046, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.25 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002231/0.1334, allocations: 1.207 MB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.1336, allocations: 47.88 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.1337, allocations: 0 / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.54e-05/0.1338, allocations: 0 / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.1339, allocations: 15.91 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.134, allocations: 19.97 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1342, allocations: 103.8 kB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1342, allocations: 0 / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1343, allocations: 35.95 kB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.1344, allocations: 43.83 kB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1344, allocations: 4 kB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.1345, allocations: 8 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1345, allocations: 23.95 kB / 0.6507 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.1346, allocations: 31.86 kB / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.814e-05/0.1347, allocations: 44.09 kB / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1347, allocations: 7.938 kB / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1347, allocations: 0 / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1347, allocations: 0 / 0.6508 GB, free: 11.96 MB / 0.4983 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.0006875/0.1354, allocations: 411.2 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1354, allocations: 12.03 kB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1355, allocations: 34.75 kB / 0.6512 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1355, allocations: 8.891 kB / 0.6512 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1357, allocations: 176.4 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1357, allocations: 12.38 kB / 0.6514 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1358, allocations: 12.33 kB / 0.6514 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.136, allocations: 94.12 kB / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.136, allocations: 3.938 kB / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.136, allocations: 0 / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.136, allocations: 4 kB / 0.6515 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.1361, allocations: 39.97 kB / 0.6515 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1364, allocations: 209.5 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.1368, allocations: 146.5 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.1369, allocations: 48.83 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1369, allocations: 0 / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1369, allocations: 38.5 kB / 0.652 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1369, allocations: 0 / 0.652 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007875/0.1377, allocations: 315.3 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1378, allocations: 51.41 kB / 0.6523 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.1378, allocations: 102.4 kB / 0.6524 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1379, allocations: 29.7 kB / 0.6524 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.1379, allocations: 90.41 kB / 0.6525 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.138, allocations: 51.59 kB / 0.6526 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1381, allocations: 33.72 kB / 0.6526 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1382, allocations: 326.8 kB / 0.6529 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.1383, allocations: 51.95 kB / 0.653 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1384, allocations: 90.83 kB / 0.6531 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1386, allocations: 144.2 kB / 0.6532 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1386, allocations: 4 kB / 0.6532 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004337/0.1391, allocations: 222.2 kB / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1391, allocations: 11.94 kB / 0.6534 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1391, allocations: 7.875 kB / 0.6534 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.1394, allocations: 60.92 kB / 0.6535 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1396, allocations: 35.98 kB / 0.6535 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.141, allocations: 1.579 MB / 0.6551 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.1411, allocations: 19.92 kB / 0.6551 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1411, allocations: 12 kB / 0.6551 GB, free: 7.094 MB / 0.4983 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 9.987e-05/0.1412, allocations: 126.6 kB / 0.6552 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1413, allocations: 3.938 kB / 0.6552 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.1413, allocations: 19.97 kB / 0.6552 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1413, allocations: 0 / 0.6552 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1413, allocations: 0 / 0.6552 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1413, allocations: 0 / 0.6552 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1415, allocations: 217.4 kB / 0.6554 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1415, allocations: 0 / 0.6554 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1417, allocations: 31.98 kB / 0.6555 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.142, allocations: 52.8 kB / 0.6555 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.142, allocations: 11.98 kB / 0.6555 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.1433, allocations: 1.578 MB / 0.6571 GB, free: 4.867 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1434, allocations: 4.062 kB / 0.6571 GB, free: 4.863 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.1438, allocations: 261.6 kB / 0.6573 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.1439, allocations: 85.05 kB / 0.6574 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1439, allocations: 7.984 kB / 0.6574 GB, free: 4.477 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.144, allocations: 4 kB / 0.6574 GB, free: 4.473 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.144, allocations: 15.92 kB / 0.6574 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.144, allocations: 4 kB / 0.6574 GB, free: 4.453 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.144, allocations: 75.28 kB / 0.6575 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.633e-06/0.1441, allocations: 0 / 0.6575 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002368/0.1443, allocations: 35.94 kB / 0.6575 GB, free: 4.344 MB / 0.4983 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.0007234/0.145, allocations: 0.8015 MB / 0.6583 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1456, allocations: 254.8 kB / 0.6586 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1456, allocations: 0 / 0.6586 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.1459, allocations: 203 kB / 0.6588 GB, free: 3.035 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.146, allocations: 15.59 kB / 0.6588 GB, free: 3.023 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1485, allocations: 2.188 MB / 0.6609 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1488, allocations: 0.7041 MB / 0.6616 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.1489, allocations: 28.52 kB / 0.6616 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1489, allocations: 22.53 kB / 0.6617 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of SimCode: time 4.51e-07/0.1489, allocations: 0 / 0.6617 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.1735, allocations: 2.865 MB / 0.6644 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9/9.173, allocations: 4.5 kB / 0.6645 GB, free: 13.29 MB / 0.5139 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.csv --start-time 0 --stop-time 10 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.csv","/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) Reference file matches