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.001427/0.001427, allocations: 110.1 kB / 17.06 MB, free: 6.02 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.0014/0.0014, allocations: 189.4 kB / 18 MB, free: 5.102 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9439/0.9439, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 58.88 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1365, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002181/0.1387, allocations: 1.215 MB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001796/0.1389, allocations: 39.88 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.139, allocations: 4 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.1391, allocations: 0 / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.1391, allocations: 11.91 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.1393, allocations: 23.97 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1395, allocations: 103.8 kB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1395, allocations: 7.984 kB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.1396, allocations: 31.97 kB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.1397, allocations: 35.89 kB / 0.6507 GB, free: 12.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1397, allocations: 4 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.1397, allocations: 7.938 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1398, allocations: 27.95 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1398, allocations: 27.86 kB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.671e-05/0.1399, allocations: 52.09 kB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1399, allocations: 0 / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1399, allocations: 3.938 kB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.14, allocations: 0 / 0.6508 GB, free: 11.98 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.0006907/0.1407, allocations: 415.2 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1407, allocations: 8.031 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1407, allocations: 34.75 kB / 0.6512 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1408, allocations: 8.891 kB / 0.6512 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.141, allocations: 184.3 kB / 0.6514 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.141, allocations: 4.375 kB / 0.6514 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.141, allocations: 12.33 kB / 0.6514 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1412, allocations: 86.2 kB / 0.6515 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1412, allocations: 7.938 kB / 0.6515 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1413, allocations: 7.938 kB / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1413, allocations: 0 / 0.6515 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.1414, allocations: 43.95 kB / 0.6515 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1416, allocations: 209.6 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.142, allocations: 138.5 kB / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.1421, allocations: 48.83 kB / 0.6519 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1421, allocations: 4 kB / 0.6519 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1422, allocations: 34.56 kB / 0.652 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.1422, allocations: 0 / 0.652 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007467/0.1429, allocations: 311.6 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.143, allocations: 55.62 kB / 0.6523 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.1431, allocations: 110.1 kB / 0.6524 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1431, allocations: 29.64 kB / 0.6524 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.1431, allocations: 86.48 kB / 0.6525 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.1432, allocations: 51.59 kB / 0.6526 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.1432, allocations: 37.7 kB / 0.6526 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1434, allocations: 318.8 kB / 0.6529 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.1435, allocations: 51.95 kB / 0.653 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1436, allocations: 92.25 kB / 0.6531 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1438, allocations: 148.2 kB / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1439, allocations: 0 / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004362/0.1443, allocations: 226.3 kB / 0.6534 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1443, allocations: 11.88 kB / 0.6534 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1443, allocations: 4 kB / 0.6534 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.1446, allocations: 60.92 kB / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1448, allocations: 39.92 kB / 0.6535 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.1464, allocations: 1.582 MB / 0.6551 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.1465, allocations: 19.91 kB / 0.6551 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1465, allocations: 11.94 kB / 0.6551 GB, free: 7.105 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 0.0001275/0.1466, allocations: 118.7 kB / 0.6552 GB, free: 6.98 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.1466, allocations: 8.062 kB / 0.6552 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.1467, allocations: 15.97 kB / 0.6552 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1467, allocations: 0 / 0.6552 GB, free: 6.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1467, allocations: 4 kB / 0.6552 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1467, allocations: 3.984 kB / 0.6552 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1469, allocations: 209.5 kB / 0.6554 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1469, allocations: 0 / 0.6554 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1471, allocations: 27.98 kB / 0.6555 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/0.1473, allocations: 60.8 kB / 0.6555 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1474, allocations: 7.984 kB / 0.6555 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1488, allocations: 1.582 MB / 0.6571 GB, free: 4.883 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1489, allocations: 4.031 kB / 0.6571 GB, free: 4.879 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1493, allocations: 265.6 kB / 0.6573 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.1494, allocations: 81.05 kB / 0.6574 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1494, allocations: 7.984 kB / 0.6574 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.1495, allocations: 4 kB / 0.6574 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1495, allocations: 11.92 kB / 0.6574 GB, free: 4.477 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1495, allocations: 4 kB / 0.6574 GB, free: 4.473 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.1496, allocations: 79.28 kB / 0.6575 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1496, allocations: 4 kB / 0.6575 GB, free: 4.391 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002329/0.1498, allocations: 32 kB / 0.6576 GB, free: 4.359 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.0007915/0.1506, allocations: 0.8075 MB / 0.6583 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.1511, allocations: 259 kB / 0.6586 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1512, allocations: 0 / 0.6586 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.1515, allocations: 186.8 kB / 0.6588 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1516, allocations: 10.47 kB / 0.6588 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1542, allocations: 2.209 MB / 0.6609 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1546, allocations: 0.708 MB / 0.6616 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 5.833e-05/0.1547, allocations: 24.53 kB / 0.6616 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1547, allocations: 19.44 kB / 0.6617 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of SimCode: time 4.11e-07/0.1547, allocations: 3.938 kB / 0.6617 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.185, allocations: 2.849 MB / 0.6645 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/9.702, allocations: 6.875 kB / 0.6645 GB, free: 13.31 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