Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.001232/0.001232, allocations: 109.1 kB / 16.41 MB, free: 6.48 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.001258/0.001258, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.217/0.217, allocations: 43.54 MB / 314.1 MB, free: 456 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.002005/0.002005, allocations: 67.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003942/0.1117, allocations: 2.089 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1141, allocations: 1.31 MB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1142, allocations: 4 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1143, allocations: 23.67 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1145, allocations: 31.72 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.1154, allocations: 187.3 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1157, allocations: 176.1 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.116, allocations: 111.3 kB / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1162, allocations: 75.64 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1164, allocations: 91.55 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.1164, allocations: 20 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1169, allocations: 147.9 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1169, allocations: 43.78 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1171, allocations: 91.47 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.1177, allocations: 314.6 kB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1177, allocations: 0 / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1177, allocations: 0 / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1177, allocations: 3.938 kB / 0.492 GB, free: 7.562 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008646/0.1186, allocations: 0.5298 MB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.1187, allocations: 15.89 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.1188, allocations: 91.2 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.1204, allocations: 68.7 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1207, allocations: 192.1 kB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.1207, allocations: 21.03 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.1208, allocations: 28.38 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.1214, allocations: 238.2 kB / 0.4931 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1215, allocations: 0 / 0.4931 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1215, allocations: 16 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1216, allocations: 8 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.122, allocations: 162.5 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.1235, allocations: 0.6479 MB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.1244, allocations: 235.3 kB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.1246, allocations: 69.3 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1247, allocations: 8.234 kB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1247, allocations: 38.8 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.294e-06/0.1247, allocations: 0 / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006607/0.1254, allocations: 210.2 kB / 0.4945 GB, free: 4.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.1255, allocations: 59.34 kB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1256, allocations: 105.8 kB / 0.4947 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1257, allocations: 37.58 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1258, allocations: 156.6 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1259, allocations: 95.16 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1261, allocations: 41.72 kB / 0.495 GB, free: 4.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1263, allocations: 318.8 kB / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1264, allocations: 39.97 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1266, allocations: 47.97 kB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.1269, allocations: 122.2 kB / 0.4955 GB, free: 3.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.127, allocations: 4 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004582/0.1274, allocations: 165.5 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.1275, allocations: 4 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1275, allocations: 0 / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.1275, allocations: 4.25 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.1281, allocations: 107.8 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1281, allocations: 4 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1282, allocations: 15.89 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1283, allocations: 8 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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 0.0002345/0.1285, allocations: 133.7 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.1286, allocations: 7.953 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1287, allocations: 29.12 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.1287, allocations: 7.875 kB / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1287, allocations: 0 / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1287, allocations: 8 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.1293, allocations: 289.4 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1293, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.1298, allocations: 95.89 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.1298, allocations: 3.984 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.1299, allocations: 4 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.1299, allocations: 7.938 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1299, allocations: 4 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.1304, allocations: 271.4 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.1305, allocations: 89 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1305, allocations: 8 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1307, allocations: 7.938 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.1307, allocations: 19.92 kB / 0.4967 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1308, allocations: 7.984 kB / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.1308, allocations: 91.22 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1308, allocations: 0 / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000458/0.1313, allocations: 55.78 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.001079/0.1324, allocations: 0.8729 MB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1328, allocations: 135.9 kB / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1328, allocations: 0 / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.133, allocations: 79.89 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1334, allocations: 18.59 kB / 0.4979 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.1366, allocations: 1.952 MB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.1371, allocations: 0.7397 MB / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.1373, allocations: 17.41 kB / 0.5006 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1374, allocations: 71.34 kB / 0.5006 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1374, allocations: 4 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1661, allocations: 2.731 MB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.068, allocations: 12 kB / 0.5033 GB, free: 11.49 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches