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.001189/0.001189, allocations: 114.3 kB / 17.07 MB, free: 6.016 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.001153/0.001153, allocations: 191 kB / 18 MB, free: 5.098 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.224/1.224, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7793/0.7793, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 58.59 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1137, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001806/0.1155, allocations: 1.203 MB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001678/0.1157, allocations: 47.88 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1158, allocations: 0 / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.488e-05/0.1158, allocations: 7.922 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.1159, allocations: 7.984 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.1161, allocations: 27.95 kB / 0.6505 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1162, allocations: 99.83 kB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1162, allocations: 4 kB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.1163, allocations: 35.91 kB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.1164, allocations: 39.89 kB / 0.6507 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1164, allocations: 4 kB / 0.6507 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.1164, allocations: 4 kB / 0.6507 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.1165, allocations: 23.95 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1165, allocations: 35.84 kB / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.455e-05/0.1166, allocations: 44.09 kB / 0.6508 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1166, allocations: 4 kB / 0.6508 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1166, allocations: 4 kB / 0.6508 GB, free: 12 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1166, allocations: 0 / 0.6508 GB, free: 12 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.0005337/0.1172, allocations: 407.2 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1172, allocations: 8.031 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.1172, allocations: 42.73 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.1173, allocations: 8.891 kB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1174, allocations: 176.3 kB / 0.6514 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1174, allocations: 4.375 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1175, allocations: 16.33 kB / 0.6514 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1176, allocations: 86.19 kB / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1176, allocations: 11.92 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1176, allocations: 4 kB / 0.6515 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1177, allocations: 4 kB / 0.6515 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.1177, allocations: 39.97 kB / 0.6515 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.1179, allocations: 213.5 kB / 0.6517 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.1183, allocations: 150.5 kB / 0.6519 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1184, allocations: 44.84 kB / 0.6519 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1184, allocations: 0 / 0.6519 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1184, allocations: 42.56 kB / 0.652 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1184, allocations: 0 / 0.652 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0006625/0.1191, allocations: 311.3 kB / 0.6523 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1191, allocations: 51.62 kB / 0.6523 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.1192, allocations: 102.2 kB / 0.6524 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1192, allocations: 37.64 kB / 0.6524 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1192, allocations: 86.48 kB / 0.6525 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.1193, allocations: 47.59 kB / 0.6526 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.1193, allocations: 37.7 kB / 0.6526 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1194, allocations: 326.8 kB / 0.6529 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.1195, allocations: 47.97 kB / 0.653 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.1196, allocations: 92.25 kB / 0.6531 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1198, allocations: 144.2 kB / 0.6532 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1198, allocations: 3.938 kB / 0.6532 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000388/0.1202, allocations: 226.3 kB / 0.6534 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1202, allocations: 15.88 kB / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1202, allocations: 0 / 0.6534 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.1205, allocations: 64.88 kB / 0.6535 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1206, allocations: 28 kB / 0.6535 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1218, allocations: 1.586 MB / 0.6551 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.1219, allocations: 15.92 kB / 0.6551 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1219, allocations: 7.938 kB / 0.6551 GB, free: 7.137 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 7.812e-05/0.122, allocations: 126.6 kB / 0.6552 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.122, allocations: 4.062 kB / 0.6552 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1221, allocations: 19.97 kB / 0.6552 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1221, allocations: 0 / 0.6552 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1221, allocations: 0 / 0.6552 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1221, allocations: 0 / 0.6552 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1222, allocations: 217.4 kB / 0.6554 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1223, allocations: 0 / 0.6554 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1224, allocations: 27.98 kB / 0.6555 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.1227, allocations: 60.73 kB / 0.6555 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1227, allocations: 8 kB / 0.6555 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.1238, allocations: 1.578 MB / 0.6571 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1238, allocations: 0 / 0.6571 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.1242, allocations: 268.9 kB / 0.6573 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.1243, allocations: 89.03 kB / 0.6574 GB, free: 4.523 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1243, allocations: 0 / 0.6574 GB, free: 4.523 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.1243, allocations: 11.88 kB / 0.6574 GB, free: 4.512 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.1244, allocations: 15.92 kB / 0.6574 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1244, allocations: 4 kB / 0.6574 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.1244, allocations: 79.27 kB / 0.6575 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1244, allocations: 0 / 0.6575 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002155/0.1247, allocations: 36 kB / 0.6576 GB, free: 4.379 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.000627/0.1253, allocations: 0.7937 MB / 0.6583 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.1257, allocations: 262.6 kB / 0.6586 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1257, allocations: 0 / 0.6586 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.126, allocations: 194.7 kB / 0.6588 GB, free: 3.078 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1262, allocations: 7.984 kB / 0.6588 GB, free: 3.07 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.1282, allocations: 2.194 MB / 0.6609 GB, free: 0.7617 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1284, allocations: 0.7119 MB / 0.6616 GB, free: 24 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1285, allocations: 24.53 kB / 0.6616 GB, free: 0 / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1286, allocations: 23.42 kB / 0.6617 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.1286, allocations: 0 / 0.6617 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1496, allocations: 2.851 MB / 0.6644 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/9.257, allocations: 7.875 kB / 0.6645 GB, free: 13.34 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