Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_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.0009259/0.0009258, allocations: 94.69 kB / 16.98 MB, free: 5.938 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.0008654/0.0008657, allocations: 187 kB / 17.88 MB, free: 5.594 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.377/1.377, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 8.812 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.001938/0.1275, allocations: 1.725 MB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.129, allocations: 1.15 MB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.1291, allocations: 4 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.1291, allocations: 15.8 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.1292, allocations: 23.95 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1296, allocations: 159.5 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1297, allocations: 108.5 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1299, allocations: 81.47 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.13, allocations: 51.78 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.1301, allocations: 67.61 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1301, allocations: 8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.1303, allocations: 127.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.1304, allocations: 27.91 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1304, allocations: 53.58 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1307, allocations: 215.7 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.1307, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1307, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1307, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.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.0005053/0.1312, allocations: 491.1 kB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1312, allocations: 16.03 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.1313, allocations: 90.88 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.1321, allocations: 67.67 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1322, allocations: 186.8 kB / 476.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1323, allocations: 20.66 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1323, allocations: 35.95 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1327, allocations: 234 kB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1327, allocations: 0 / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1327, allocations: 12 kB / 476.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1327, allocations: 8 kB / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.133, allocations: 170.5 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.1339, allocations: 0.6593 MB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.1344, allocations: 223.4 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1344, allocations: 4.219 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1344, allocations: 42.72 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.1344, allocations: 4 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004082/0.1349, allocations: 215.6 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1349, allocations: 55.41 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.135, allocations: 105.8 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.135, allocations: 33.64 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1351, allocations: 156.3 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.1351, allocations: 82.73 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.1352, allocations: 0 / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1353, allocations: 330.8 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.1354, allocations: 43.97 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1355, allocations: 47.95 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1356, allocations: 49.41 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1356, allocations: 7.938 kB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002492/0.1358, allocations: 165.5 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1359, allocations: 8 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1359, allocations: 0 / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1359, allocations: 0 / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.1362, allocations: 107.9 kB / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1363, allocations: 4 kB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.1363, allocations: 15.84 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1363, allocations: 4 kB / 479 MB, free: 5.984 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.1365, allocations: 134.3 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1365, allocations: 11.81 kB / 479.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.1366, allocations: 21.12 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1366, allocations: 4.25 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1366, allocations: 7.938 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1366, allocations: 4 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1369, allocations: 293.3 kB / 479.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1369, allocations: 0 / 479.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1372, allocations: 95.95 kB / 479.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1373, allocations: 7.922 kB / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1373, allocations: 8 kB / 479.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1373, allocations: 4 kB / 479.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1373, allocations: 0 / 479.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1376, allocations: 275.3 kB / 479.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1376, allocations: 88.95 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1377, allocations: 4 kB / 479.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1378, allocations: 12 kB / 479.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.1378, allocations: 15.97 kB / 479.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1378, allocations: 8 kB / 479.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.109e-05/0.1379, allocations: 79.28 kB / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1382, allocations: 59.69 kB / 480.1 MB, free: 4.781 MB / 350.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 (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.0007157/0.1389, allocations: 0.8769 MB / 481 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1392, allocations: 143.8 kB / 481.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1392, allocations: 0 / 481.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1393, allocations: 83.84 kB / 481.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1394, allocations: 7.984 kB / 481.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1408, allocations: 1.115 MB / 482.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1411, allocations: 0.7477 MB / 483 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1412, allocations: 21.41 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.1413, allocations: 59.42 kB / 483.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1413, allocations: 0 / 483.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.1524, allocations: 2.351 MB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.1525, allocations: 165.9 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.94, allocations: 3.938 kB / 485.6 MB, free: 15.14 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat