Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 182.4 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008366/0.0008366, allocations: 100.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09064/0.3786, allocations: 75.71 MB / 451.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3789, allocations: 67.97 kB / 451.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003601/0.3825, allocations: 1.311 MB / 453 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3825, allocations: 0 / 453 MB, free: 3.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3826, allocations: 0 / 453 MB, free: 3.566 MB / 330.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.0004798/0.3831, allocations: 391.2 kB / 453.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3831, allocations: 8.031 kB / 453.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.3831, allocations: 34.56 kB / 453.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.3832, allocations: 7.906 kB / 453.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3833, allocations: 174.9 kB / 453.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3833, allocations: 15.92 kB / 453.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3834, allocations: 7.953 kB / 453.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3836, allocations: 93.64 kB / 453.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3837, allocations: 0 / 453.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3837, allocations: 3.938 kB / 453.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3837, allocations: 0 / 453.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.384, allocations: 103.9 kB / 453.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.3844, allocations: 304.8 kB / 454.1 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3847, allocations: 86.56 kB / 454.2 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3847, allocations: 0 / 454.2 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3847, allocations: 38.55 kB / 454.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3848, allocations: 0 / 454.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005655/0.3853, allocations: 181.8 kB / 454.4 MB, free: 1.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3854, allocations: 59.33 kB / 454.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.3854, allocations: 101 kB / 454.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3855, allocations: 25.7 kB / 454.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3855, allocations: 96.03 kB / 454.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3856, allocations: 19.73 kB / 454.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.3856, allocations: 0 / 454.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3857, allocations: 322.8 kB / 455 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3858, allocations: 43.97 kB / 455.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.386, allocations: 60.02 kB / 455.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3861, allocations: 43.97 kB / 455.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3861, allocations: 224 / 455.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003178/0.3865, allocations: 129.6 kB / 455.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3865, allocations: 11.92 kB / 455.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3865, allocations: 4.375 kB / 455.3 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3865, allocations: 0 / 455.3 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3867, allocations: 31.92 kB / 455.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3867, allocations: 0 / 455.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.3868, allocations: 23.83 kB / 455.4 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3868, allocations: 0 / 455.4 MB, free: 0.9727 MB / 330.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.703e-05/0.3869, allocations: 125.8 kB / 455.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3869, allocations: 4 kB / 455.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.3873, allocations: 145.6 kB / 455.6 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3873, allocations: 0 / 455.6 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3873, allocations: 4 kB / 455.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3873, allocations: 3.984 kB / 455.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3875, allocations: 185.5 kB / 455.8 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3875, allocations: 3.938 kB / 455.8 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3876, allocations: 27.98 kB / 455.8 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3877, allocations: 4 kB / 455.8 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3877, allocations: 3.984 kB / 455.8 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3877, allocations: 0 / 455.8 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3877, allocations: 0 / 455.8 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.388, allocations: 235.5 kB / 456.1 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.3881, allocations: 96.89 kB / 456.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3881, allocations: 4 kB / 456.2 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3883, allocations: 15.98 kB / 456.2 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3883, allocations: 15.97 kB / 456.2 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3883, allocations: 192 / 456.2 MB, free: 20 kB / 330.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.3884, allocations: 91.22 kB / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 0 / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.3886, allocations: 8 kB / 456.3 MB, free: 15.92 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 () * 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.0006293/0.3892, allocations: 0.7787 MB / 457.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.3896, allocations: 119.8 kB / 457.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3896, allocations: 0 / 457.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3898, allocations: 64.19 kB / 457.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.39, allocations: 4.219 kB / 457.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.3904, allocations: 221.3 kB / 457.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3907, allocations: 0.6964 MB / 458.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.3908, allocations: 11.98 kB / 458.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.3908, allocations: 17.08 kB / 458.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3908, allocations: 0 / 458.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.4027, allocations: 1.671 MB / 459.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.403, allocations: 193.9 kB / 460.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.38/1.783, allocations: 0 / 460.1 MB, free: 12.04 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat