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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008934/0.0008936, allocations: 89.38 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.792e-05, allocations: 7.969 kB / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.4475, allocations: 77.39 MB / 479.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.4477, allocations: 70.52 kB / 479.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003542/0.4513, allocations: 1.398 MB / 481 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4513, allocations: 0 / 481 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.4513, allocations: 4 kB / 481 MB, free: 10.83 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.0003531/0.4517, allocations: 383.9 kB / 481.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4517, allocations: 8.031 kB / 481.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.4517, allocations: 41.61 kB / 481.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.4518, allocations: 15.22 kB / 481.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.4519, allocations: 163 kB / 481.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4519, allocations: 7.266 kB / 481.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4519, allocations: 7.125 kB / 481.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.452, allocations: 59.11 kB / 481.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.452, allocations: 3.938 kB / 481.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4521, allocations: 3.062 kB / 481.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4521, allocations: 1.734 kB / 481.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.4521, allocations: 34.42 kB / 481.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.4525, allocations: 306.5 kB / 482 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.4526, allocations: 50.86 kB / 482 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.4527, allocations: 26.05 kB / 482.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4527, allocations: 0 / 482.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4527, allocations: 39.23 kB / 482.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4527, allocations: 0 / 482.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001693/0.4529, allocations: 62.58 kB / 482.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.4529, allocations: 55.34 kB / 482.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.453, allocations: 101.3 kB / 482.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.453, allocations: 32.7 kB / 482.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.453, allocations: 86.98 kB / 482.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.4531, allocations: 23.3 kB / 482.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4531, allocations: 0 / 482.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.4531, allocations: 319.5 kB / 482.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.4532, allocations: 17.92 kB / 482.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.4532, allocations: 14.56 kB / 482.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.4532, allocations: 19.3 kB / 482.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4532, allocations: 0 / 482.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.22e-05/0.4533, allocations: 67.78 kB / 482.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4534, allocations: 5.562 kB / 482.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4534, allocations: 2.344 kB / 482.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4534, allocations: 1.391 kB / 482.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4535, allocations: 31.92 kB / 482.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4535, allocations: 0 / 482.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.4536, allocations: 19.36 kB / 482.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.4537, allocations: 3.984 kB / 482.9 MB, free: 8.805 MB / 346.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 () * 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 4.273e-05/0.4537, allocations: 108.9 kB / 483 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4537, allocations: 4 kB / 483.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.4539, allocations: 90.92 kB / 483.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4539, allocations: 0.75 kB / 483.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4539, allocations: 0.9375 kB / 483.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.4539, allocations: 0 / 483.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.4541, allocations: 191 kB / 483.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4541, allocations: 3.938 kB / 483.3 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4542, allocations: 35.28 kB / 483.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4542, allocations: 0 / 483.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4542, allocations: 0.75 kB / 483.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4542, allocations: 4 kB / 483.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4542, allocations: 0 / 483.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.4544, allocations: 171.2 kB / 483.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.4544, allocations: 81.58 kB / 483.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.4544, allocations: 11.23 kB / 483.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4545, allocations: 21.86 kB / 483.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4546, allocations: 3.984 kB / 483.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4546, allocations: 4 kB / 483.7 MB, free: 8.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.4546, allocations: 92.22 kB / 483.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.4546, allocations: 0 / 483.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002/0.4548, allocations: 14.61 kB / 483.8 MB, free: 7.953 MB / 346.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 () * 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.0002997/0.4551, allocations: 0.7129 MB / 484.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.4553, allocations: 44.42 kB / 484.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.4553, allocations: 1.312 kB / 484.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.4553, allocations: 22.81 kB / 484.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.4555, allocations: 11.94 kB / 484.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.4558, allocations: 135.8 kB / 484.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.456, allocations: 0.6934 MB / 485.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.456, allocations: 0.5625 kB / 485.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4561, allocations: 20.67 kB / 485.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4561, allocations: 0 / 485.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.4665, allocations: 1.724 MB / 487.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001154/0.4666, allocations: 160.5 kB / 487.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.906, allocations: 1.312 kB / 487.3 MB, free: 4.547 MB / 346.7 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