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.00119/0.00119, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.001074/0.001074, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2084/0.2084, allocations: 43.52 MB / 314.1 MB, free: 464 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.002563/0.002564, allocations: 69.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1258, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003674/0.1295, allocations: 2.105 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1317, allocations: 1.306 MB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1319, allocations: 4 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.78e-05/0.1319, allocations: 23.67 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1321, allocations: 35.66 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.1327, allocations: 183.3 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1329, allocations: 184 kB / 0.4912 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1331, allocations: 107.3 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.1333, allocations: 83.64 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1334, allocations: 87.55 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1334, allocations: 16 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.1337, allocations: 147.9 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1338, allocations: 39.86 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.027e-05/0.1339, allocations: 95.39 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.1343, allocations: 318.6 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1343, allocations: 0 / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1343, allocations: 0 / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1343, allocations: 0 / 0.492 GB, free: 7.559 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.0006276/0.135, allocations: 0.526 MB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.135, allocations: 11.89 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1351, allocations: 87.22 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.136, allocations: 72.7 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1361, allocations: 188.1 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1362, allocations: 25.03 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1362, allocations: 36.31 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.1366, allocations: 238.2 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1366, allocations: 0 / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1367, allocations: 16 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1367, allocations: 8 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.137, allocations: 158.5 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.1379, allocations: 0.6479 MB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.1384, allocations: 239.3 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1386, allocations: 69.3 kB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1386, allocations: 4.234 kB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1386, allocations: 34.8 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.1386, allocations: 3.938 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004564/0.1391, allocations: 218.2 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1392, allocations: 59.34 kB / 0.4946 GB, free: 4.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.1392, allocations: 105.8 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1393, allocations: 33.64 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1394, allocations: 148.6 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.1394, allocations: 99.16 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.1395, allocations: 41.7 kB / 0.495 GB, free: 4.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1396, allocations: 322.8 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.1397, allocations: 39.97 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.1398, allocations: 47.98 kB / 0.4954 GB, free: 3.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.14, allocations: 126.1 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1401, allocations: 256 / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002755/0.1403, allocations: 169.5 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1404, allocations: 4 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1404, allocations: 4 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1404, allocations: 0 / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.1408, allocations: 107.8 kB / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1408, allocations: 0 / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.1409, allocations: 19.89 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1409, allocations: 8 kB / 0.4958 GB, free: 3.465 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.0001168/0.141, allocations: 129.7 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1411, allocations: 7.953 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1411, allocations: 25.12 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.1411, allocations: 15.92 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1411, allocations: 0 / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1411, allocations: 0 / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.1415, allocations: 281.4 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1415, allocations: 3.984 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.1419, allocations: 91.95 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1419, allocations: 4 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1419, allocations: 11.94 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1419, allocations: 7.875 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1419, allocations: 0 / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1423, allocations: 275.4 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1423, allocations: 89 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1424, allocations: 7.984 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.1425, allocations: 11.94 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1425, allocations: 15.98 kB / 0.4967 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1425, allocations: 8 kB / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.1426, allocations: 87.2 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1426, allocations: 0 / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1429, allocations: 55.78 kB / 0.4969 GB, free: 2.258 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.000744/0.1436, allocations: 0.8729 MB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1439, allocations: 131.9 kB / 0.4978 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1439, allocations: 0 / 0.4978 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1441, allocations: 87.83 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.0002364/0.1443, allocations: 18.44 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.002226/0.1465, allocations: 1.959 MB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1469, allocations: 0.7397 MB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.224e-05/0.147, allocations: 17.41 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1471, allocations: 71.41 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1471, allocations: 0 / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.1686, allocations: 2.729 MB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.686, allocations: 7.938 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