Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.000994, allocations: 92.2 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2339, allocations: 50.42 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09689/0.3309, allocations: 76.59 MB / 478.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3312, allocations: 67.97 kB / 478.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003822/0.335, allocations: 1.351 MB / 479.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3351, allocations: 4 kB / 479.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3351, allocations: 0 / 479.6 MB, free: 2.43 MB / 346.7 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.0004921/0.3356, allocations: 387.1 kB / 480 MB, free: 2.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3356, allocations: 8.031 kB / 480 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.3357, allocations: 38.56 kB / 480 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.3357, allocations: 11.86 kB / 480 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3358, allocations: 174.9 kB / 480.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3359, allocations: 8 kB / 480.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3359, allocations: 0 / 480.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.3362, allocations: 101.6 kB / 480.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3362, allocations: 0 / 480.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3362, allocations: 0 / 480.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3362, allocations: 3.953 kB / 480.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.3366, allocations: 108.5 kB / 480.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.337, allocations: 296.9 kB / 480.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3372, allocations: 86.56 kB / 480.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3373, allocations: 3.953 kB / 480.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3373, allocations: 38.55 kB / 480.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.995e-06/0.3373, allocations: 0 / 480.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006203/0.3379, allocations: 189.6 kB / 481 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.338, allocations: 51.41 kB / 481.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.3381, allocations: 101 kB / 481.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3381, allocations: 25.7 kB / 481.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3381, allocations: 92.12 kB / 481.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3382, allocations: 23.66 kB / 481.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.3382, allocations: 7.938 kB / 481.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3383, allocations: 314.8 kB / 481.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.3385, allocations: 43.97 kB / 481.6 MB, free: 148 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3386, allocations: 51.95 kB / 481.7 MB, free: 96 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3388, allocations: 47.97 kB / 481.7 MB, free: 48 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3388, allocations: 0 / 481.7 MB, free: 48 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003659/0.3392, allocations: 134 kB / 481.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3392, allocations: 11.94 kB / 481.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3392, allocations: 0 / 481.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3392, allocations: 0 / 481.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3394, allocations: 28.05 kB / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3394, allocations: 0 / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.3395, allocations: 19.98 kB / 481.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3395, allocations: 0 / 481.9 MB, free: 15.85 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 (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 7.974e-05/0.3396, allocations: 121.8 kB / 482.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3396, allocations: 7.906 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.3401, allocations: 153.5 kB / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3401, allocations: 0 / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3401, allocations: 4 kB / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3401, allocations: 7.984 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3403, allocations: 182 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3403, allocations: 0 / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.3404, allocations: 23.98 kB / 482.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3404, allocations: 7.938 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3405, allocations: 3.938 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3405, allocations: 7.938 kB / 482.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3405, allocations: 0 / 482.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.3409, allocations: 247.4 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.341, allocations: 88.95 kB / 482.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.341, allocations: 7.922 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3411, allocations: 19.98 kB / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3412, allocations: 11.94 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3412, allocations: 0 / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.28e-05/0.3412, allocations: 91.28 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3412, allocations: 0 / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.3415, allocations: 12 kB / 482.9 MB, free: 14.78 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 (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.0007918/0.3423, allocations: 0.7826 MB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.3426, allocations: 111.9 kB / 483.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3427, allocations: 0 / 483.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3428, allocations: 59.89 kB / 483.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.343, allocations: 10.88 kB / 483.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.3435, allocations: 212.4 kB / 484.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3438, allocations: 0.6926 MB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.403e-05/0.3439, allocations: 3.984 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.3439, allocations: 23.44 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3439, allocations: 0 / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.356, allocations: 1.688 MB / 486.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.3563, allocations: 176.8 kB / 486.7 MB, free: 11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.041, allocations: 0 / 486.7 MB, free: 11 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat