Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",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.001441/0.001441, allocations: 113.8 kB / 17.06 MB, free: 6.004 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.001429/0.001429, allocations: 189.4 kB / 18 MB, free: 5.086 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9276/0.9276, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 65.58 kB / 0.5704 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1354, allocations: 80.69 MB / 0.6492 GB, free: 13.68 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002291/0.1377, allocations: 1.199 MB / 0.6504 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.1379, allocations: 35.89 kB / 0.6504 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.138, allocations: 0 / 0.6504 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1381, allocations: 3.938 kB / 0.6504 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.1382, allocations: 11.97 kB / 0.6504 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.1383, allocations: 15.92 kB / 0.6505 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1385, allocations: 63.92 kB / 0.6505 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1385, allocations: 12 kB / 0.6505 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.1386, allocations: 19.92 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.1386, allocations: 35.89 kB / 0.6506 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1387, allocations: 4 kB / 0.6506 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.1387, allocations: 4 kB / 0.6506 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.1387, allocations: 11.98 kB / 0.6506 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1388, allocations: 19.92 kB / 0.6506 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1389, allocations: 40.09 kB / 0.6507 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.139, allocations: 0 / 0.6507 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.203e-06/0.139, allocations: 0 / 0.6507 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.139, allocations: 0 / 0.6507 GB, free: 12.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005554/0.1395, allocations: 375.4 kB / 0.651 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1396, allocations: 12.02 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.1397, allocations: 34.75 kB / 0.6511 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1397, allocations: 12.83 kB / 0.6511 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1399, allocations: 176.4 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1399, allocations: 4.375 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.14, allocations: 12.38 kB / 0.6513 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1401, allocations: 78.09 kB / 0.6513 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1401, allocations: 3.938 kB / 0.6513 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1401, allocations: 0 / 0.6513 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1402, allocations: 0 / 0.6513 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.1402, allocations: 31.97 kB / 0.6514 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1405, allocations: 185.6 kB / 0.6515 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1406, allocations: 70.62 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1407, allocations: 37 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1407, allocations: 7.922 kB / 0.6516 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1408, allocations: 30.56 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1408, allocations: 0 / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002457/0.141, allocations: 121.6 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1411, allocations: 51.41 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.1411, allocations: 93.86 kB / 0.6519 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1412, allocations: 29.7 kB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1412, allocations: 88.14 kB / 0.652 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.1413, allocations: 43.64 kB / 0.6521 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.1414, allocations: 33.7 kB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1415, allocations: 318.8 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.1416, allocations: 35.98 kB / 0.6525 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.1417, allocations: 80.19 kB / 0.6525 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1419, allocations: 112.2 kB / 0.6526 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1419, allocations: 0 / 0.6526 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002268/0.1421, allocations: 149.5 kB / 0.6528 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.1422, allocations: 16.06 kB / 0.6528 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1422, allocations: 0 / 0.6528 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1422, allocations: 0 / 0.6528 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1424, allocations: 31.98 kB / 0.6528 GB, free: 9.715 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1424, allocations: 7.938 kB / 0.6528 GB, free: 9.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.1424, allocations: 19.88 kB / 0.6529 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1425, allocations: 4 kB / 0.6529 GB, free: 9.684 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/0.1426, allocations: 118.7 kB / 0.653 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.1426, allocations: 7.891 kB / 0.653 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.1426, allocations: 19.97 kB / 0.653 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1426, allocations: 0 / 0.653 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1426, allocations: 0 / 0.653 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1426, allocations: 3.984 kB / 0.653 GB, free: 9.523 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1428, allocations: 177.6 kB / 0.6532 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1428, allocations: 0 / 0.6532 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.143, allocations: 31.92 kB / 0.6532 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1431, allocations: 4 kB / 0.6532 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1431, allocations: 4 kB / 0.6532 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1431, allocations: 7.922 kB / 0.6532 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1431, allocations: 4 kB / 0.6532 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1433, allocations: 152.9 kB / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.1434, allocations: 85.25 kB / 0.6534 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1434, allocations: 4 kB / 0.6535 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.1434, allocations: 3.984 kB / 0.6535 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.1435, allocations: 7.984 kB / 0.6535 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1435, allocations: 4 kB / 0.6535 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.1435, allocations: 83.27 kB / 0.6535 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1435, allocations: 4 kB / 0.6536 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001916/0.1437, allocations: 16 kB / 0.6536 GB, free: 8.859 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005716/0.1443, allocations: 0.6893 MB / 0.6542 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.1445, allocations: 89.08 kB / 0.6543 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1445, allocations: 4.062 kB / 0.6543 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.1446, allocations: 35.97 kB / 0.6544 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1448, allocations: 7.594 kB / 0.6544 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.147, allocations: 1.967 MB / 0.6563 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1474, allocations: 0.7 MB / 0.657 GB, free: 5.219 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.049e-05/0.1475, allocations: 24.64 kB / 0.657 GB, free: 5.191 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.1475, allocations: 15.44 kB / 0.657 GB, free: 5.176 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1475, allocations: 0 / 0.657 GB, free: 5.176 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.1747, allocations: 1.991 MB / 0.659 GB, free: 3.352 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.977, allocations: 13.72 kB / 0.659 GB, free: 3.348 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_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_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches