Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01476/0.01477, allocations: 107.9 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001294/0.001294, allocations: 179.5 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.133/2.133, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3161/0.3161, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006547/0.000655, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.12, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003221/0.1233, allocations: 1.727 MB / 417.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1262, allocations: 1.136 MB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1263, allocations: 0 / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.1264, allocations: 15.86 kB / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1266, allocations: 31.88 kB / 418.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.1272, allocations: 151.6 kB / 419.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1275, allocations: 112.4 kB / 419.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1277, allocations: 85.5 kB / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1279, allocations: 55.7 kB / 419.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.128, allocations: 59.64 kB / 419.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1281, allocations: 7.984 kB / 419.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.1285, allocations: 135.8 kB / 419.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.1286, allocations: 23.86 kB / 419.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1286, allocations: 49.64 kB / 419.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.1291, allocations: 211.7 kB / 419.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1292, allocations: 3.938 kB / 419.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1292, allocations: 0 / 419.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1292, allocations: 3.938 kB / 419.8 MB, free: 14.74 MB / 362.7 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.0007663/0.13, allocations: 491.2 kB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.13, allocations: 8.031 kB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.1302, allocations: 90.83 kB / 420.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1313, allocations: 67.67 kB / 420.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1315, allocations: 186.8 kB / 420.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.1316, allocations: 24.66 kB / 420.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1316, allocations: 31.95 kB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.1323, allocations: 234 kB / 420.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1323, allocations: 0 / 420.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.1323, allocations: 12 kB / 420.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.1324, allocations: 8 kB / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.1329, allocations: 166.5 kB / 421.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1343, allocations: 0.6593 MB / 421.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/0.1352, allocations: 231.3 kB / 422 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1353, allocations: 4.234 kB / 422 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1353, allocations: 38.8 kB / 422 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.575e-06/0.1353, allocations: 4 kB / 422 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007004/0.136, allocations: 207.6 kB / 422.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1361, allocations: 55.41 kB / 422.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.1362, allocations: 101.8 kB / 422.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1362, allocations: 33.7 kB / 422.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1363, allocations: 152.3 kB / 422.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1365, allocations: 98.58 kB / 422.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1365, allocations: 4 kB / 422.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1366, allocations: 326.8 kB / 423 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1368, allocations: 39.98 kB / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.137, allocations: 48.89 kB / 423.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1372, allocations: 56.45 kB / 423.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1372, allocations: 0 / 423.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004817/0.1377, allocations: 165.5 kB / 423.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1377, allocations: 6.969 kB / 423.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1377, allocations: 0 / 423.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1378, allocations: 7.984 kB / 423.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.1385, allocations: 99.89 kB / 423.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1385, allocations: 3.984 kB / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1387, allocations: 23.75 kB / 423.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1387, allocations: 11.98 kB / 423.4 MB, free: 10.89 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.1389, allocations: 129.7 kB / 423.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.1389, allocations: 11.91 kB / 423.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.139, allocations: 25.12 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.139, allocations: 4 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.139, allocations: 0 / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.139, allocations: 3.938 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1395, allocations: 289.3 kB / 423.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1395, allocations: 0 / 423.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.1402, allocations: 100.1 kB / 424 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1402, allocations: 8 kB / 424 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1403, allocations: 8 kB / 424 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1403, allocations: 0 / 424 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1403, allocations: 4 kB / 424 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.1408, allocations: 267.3 kB / 424.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1409, allocations: 92.95 kB / 424.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1409, allocations: 8 kB / 424.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1411, allocations: 8 kB / 424.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.1412, allocations: 19.97 kB / 424.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1412, allocations: 4 kB / 424.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.1412, allocations: 83.28 kB / 424.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1412, allocations: 0 / 424.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.1417, allocations: 55.59 kB / 424.5 MB, free: 9.695 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.1428, allocations: 0.8923 MB / 425.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.1432, allocations: 127.9 kB / 425.5 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1433, allocations: 7.938 kB / 425.6 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.1435, allocations: 83.84 kB / 425.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1437, allocations: 4 kB / 425.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.146, allocations: 1.116 MB / 426.8 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1464, allocations: 0.7555 MB / 427.5 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.1466, allocations: 13.42 kB / 427.5 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1468, allocations: 63.41 kB / 427.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1468, allocations: 7.938 kB / 427.6 MB, free: 6.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1719, allocations: 2.346 MB / 429.9 MB, free: 4.242 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/0.1723, allocations: 167.5 kB / 430.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.559, allocations: 0 / 430.1 MB, free: 4.004 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat