Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008864/0.0008864, allocations: 92.94 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009132/0.0009133, allocations: 199.1 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.0002492, allocations: 4 kB / 306.8 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002083/0.1291, allocations: 1.223 MB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.1301, allocations: 495 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1302, allocations: 4 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1304, allocations: 15.92 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.1305, allocations: 7.875 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1307, allocations: 31.97 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1308, allocations: 55.78 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1309, allocations: 15.97 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1312, allocations: 23.92 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.1313, allocations: 27.91 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1313, allocations: 4 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.1314, allocations: 19.92 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.1314, allocations: 4 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.1314, allocations: 29.7 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1316, allocations: 51.84 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1316, allocations: 0 / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1316, allocations: 0 / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1316, allocations: 0 / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007538/0.1324, allocations: 383.4 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1324, allocations: 12.03 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.1325, allocations: 38.55 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1326, allocations: 4 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1327, allocations: 170.9 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1328, allocations: 3.953 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1328, allocations: 15.92 kB / 360.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.1331, allocations: 89.64 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1331, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1332, allocations: 8 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.1332, allocations: 0 / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.1335, allocations: 107.8 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1341, allocations: 308.7 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1344, allocations: 90.53 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1346, allocations: 52.94 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1346, allocations: 4 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1346, allocations: 38.59 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1346, allocations: 0 / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006011/0.1352, allocations: 181.5 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1353, allocations: 51.41 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.1354, allocations: 109.8 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1354, allocations: 33.7 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1355, allocations: 95.98 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1355, allocations: 11.8 kB / 362.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1356, allocations: 4 kB / 362.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1357, allocations: 318.8 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1359, allocations: 47.95 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.136, allocations: 52.16 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1362, allocations: 56.08 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1362, allocations: 0 / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003625/0.1366, allocations: 133.5 kB / 362.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1366, allocations: 4 kB / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1366, allocations: 0 / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1366, allocations: 0 / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1368, allocations: 31.97 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1368, allocations: 4 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.1369, allocations: 19.92 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1369, allocations: 0 / 362.7 MB, free: 9.316 MB / 302.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 (5): * Single equations (assignments): 5 * 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 9.376e-05/0.137, allocations: 118.9 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.137, allocations: 4 kB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.1375, allocations: 157.5 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1375, allocations: 4 kB / 363 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1375, allocations: 0 / 363 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1375, allocations: 4 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1377, allocations: 185.5 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1377, allocations: 0 / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1379, allocations: 31.91 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1379, allocations: 0 / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1379, allocations: 4 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1379, allocations: 0 / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1379, allocations: 4.375 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1384, allocations: 251.4 kB / 363.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.1384, allocations: 85.02 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1384, allocations: 0 / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1386, allocations: 19.92 kB / 363.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1386, allocations: 11.98 kB / 363.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1386, allocations: 4 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.1387, allocations: 91.27 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1387, allocations: 0 / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1389, allocations: 8 kB / 363.7 MB, free: 8.25 MB / 302.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 (7): * Single equations (assignments): 7 * 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.0007812/0.1397, allocations: 0.7787 MB / 364.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1401, allocations: 103.9 kB / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1401, allocations: 0 / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1403, allocations: 63.88 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1406, allocations: 14.75 kB / 364.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.1412, allocations: 208.2 kB / 364.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1415, allocations: 0.6926 MB / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.1416, allocations: 8 kB / 365.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1416, allocations: 19.42 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1416, allocations: 0 / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.1556, allocations: 1.659 MB / 367.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.1559, allocations: 185.2 kB / 367.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.052, allocations: 3.938 kB / 367.4 MB, free: 4.508 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat