Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",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.001161/0.001161, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001256/0.001256, allocations: 188.1 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1934/0.1934, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 65.47 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003242/0.114, allocations: 1.83 MB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1161, allocations: 1.389 MB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1162, allocations: 4 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1164, allocations: 35.66 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.1165, allocations: 31.72 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1181, allocations: 0.5533 MB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.1185, allocations: 283.3 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1186, allocations: 48.27 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1188, allocations: 119.6 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.1191, allocations: 171.5 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.1191, allocations: 28 kB / 0.4918 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1202, allocations: 0.811 MB / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1203, allocations: 111.7 kB / 0.4927 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1205, allocations: 147.1 kB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1215, allocations: 1.071 MB / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1215, allocations: 0 / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1215, allocations: 0 / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1215, allocations: 0 / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0012/0.1227, allocations: 0.7313 MB / 0.4946 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1228, allocations: 15.83 kB / 0.4946 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.1228, allocations: 46.75 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1229, allocations: 36.69 kB / 0.4946 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1232, allocations: 283.8 kB / 0.4949 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1233, allocations: 23.94 kB / 0.4949 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.1233, allocations: 31.95 kB / 0.495 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.1238, allocations: 267.1 kB / 0.4952 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1238, allocations: 0 / 0.4952 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1238, allocations: 8 kB / 0.4952 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1238, allocations: 4 kB / 0.4952 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.1242, allocations: 219.8 kB / 0.4954 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1254, allocations: 0.7501 MB / 0.4962 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.1259, allocations: 288.9 kB / 0.4965 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.1262, allocations: 189.6 kB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1262, allocations: 4 kB / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1262, allocations: 46.48 kB / 0.4967 GB, free: 2.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1262, allocations: 0 / 0.4967 GB, free: 2.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009714/0.1272, allocations: 0.5365 MB / 0.4972 GB, free: 2.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1273, allocations: 85.05 kB / 0.4973 GB, free: 1.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1276, allocations: 352.6 kB / 0.4976 GB, free: 1.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1276, allocations: 29.7 kB / 0.4977 GB, free: 1.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.1278, allocations: 148.9 kB / 0.4978 GB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.1278, allocations: 103.2 kB / 0.4979 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.128, allocations: 125.4 kB / 0.498 GB, free: 1.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1281, allocations: 350.8 kB / 0.4983 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.1285, allocations: 280.9 kB / 0.4986 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.1289, allocations: 339.5 kB / 0.4989 GB, free: 196 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.1323, allocations: 1.764 MB / 0.5007 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1323, allocations: 0 / 0.5007 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001051/0.1334, allocations: 0.766 MB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1334, allocations: 4 kB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.1334, allocations: 7.938 kB / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.1334, allocations: 7.984 kB / 0.5014 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.1339, allocations: 91.88 kB / 0.5015 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.134, allocations: 4 kB / 0.5015 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1342, allocations: 71.33 kB / 0.5016 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1342, allocations: 8 kB / 0.5016 GB, free: 13.45 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0002373/0.1344, allocations: 194.7 kB / 0.5018 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.1345, allocations: 31.81 kB / 0.5018 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.1346, allocations: 42.64 kB / 0.5019 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1346, allocations: 0 / 0.5019 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1346, allocations: 4 kB / 0.5019 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1347, allocations: 7.938 kB / 0.5019 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.1351, allocations: 333.3 kB / 0.5022 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1351, allocations: 3.938 kB / 0.5022 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.1354, allocations: 47.97 kB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1355, allocations: 4 kB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.1355, allocations: 15.92 kB / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.1355, allocations: 11.94 kB / 0.5023 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1355, allocations: 0 / 0.5023 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/0.1365, allocations: 0.7454 MB / 0.503 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1365, allocations: 105 kB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1366, allocations: 19.92 kB / 0.5031 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1368, allocations: 11.98 kB / 0.5031 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.1369, allocations: 11.98 kB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1369, allocations: 8 kB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.1371, allocations: 231 kB / 0.5034 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 0.5034 GB, free: 11.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008209/0.138, allocations: 251.6 kB / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[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 (24): * Single equations (assignments): 24 * 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.001628/0.1396, allocations: 1.442 MB / 0.505 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009657/0.1406, allocations: 0.7327 MB / 0.5057 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1406, allocations: 0 / 0.5057 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.1409, allocations: 195.8 kB / 0.5059 GB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.1414, allocations: 41.06 kB / 0.506 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.1465, allocations: 4.537 MB / 0.5104 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1468, allocations: 0.8067 MB / 0.5112 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.147, allocations: 74.23 kB / 0.5112 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1472, allocations: 103.4 kB / 0.5113 GB, free: 3.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1472, allocations: 0 / 0.5113 GB, free: 3.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.1798, allocations: 10.09 MB / 0.5212 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.459, allocations: 4 kB / 0.5212 GB, free: 9.109 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches