Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_cpp_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.001609/0.001608, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001121/0.00112, allocations: 85.75 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004039, allocations: 8 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 47.57 MB / 374.6 MB, free: 45.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4742, allocations: 75.72 MB / 450.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4745, allocations: 67.97 kB / 450.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005621/0.4801, allocations: 1.298 MB / 451.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4802, allocations: 4 kB / 451.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4802, allocations: 4 kB / 451.7 MB, free: 3.559 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.0006879/0.4809, allocations: 387.2 kB / 452.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.481, allocations: 12.03 kB / 452.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.481, allocations: 30.56 kB / 452.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.4811, allocations: 11.91 kB / 452.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4812, allocations: 170.9 kB / 452.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4812, allocations: 8 kB / 452.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4813, allocations: 7.953 kB / 452.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.4817, allocations: 97.56 kB / 452.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4818, allocations: 4 kB / 452.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4818, allocations: 3.938 kB / 452.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4818, allocations: 7.984 kB / 452.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.4824, allocations: 95.92 kB / 452.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.483, allocations: 304.8 kB / 452.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.4834, allocations: 90.56 kB / 452.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4835, allocations: 0 / 452.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4835, allocations: 38.55 kB / 453 MB, free: 2.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.4835, allocations: 0 / 453 MB, free: 2.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001025/0.4845, allocations: 185.6 kB / 453.1 MB, free: 1.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4846, allocations: 55.34 kB / 453.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4847, allocations: 105 kB / 453.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.4848, allocations: 25.7 kB / 453.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.4848, allocations: 162.5 kB / 453.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.4849, allocations: 19.75 kB / 453.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.4849, allocations: 0 / 453.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4851, allocations: 318.8 kB / 453.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.4854, allocations: 43.95 kB / 453.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.4857, allocations: 51.97 kB / 453.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.486, allocations: 44.17 kB / 453.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.486, allocations: 4 kB / 453.9 MB, free: 1.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006463/0.4866, allocations: 137.6 kB / 454.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4867, allocations: 4 kB / 454.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4867, allocations: 0 / 454.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4867, allocations: 0 / 454.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.487, allocations: 32.28 kB / 454.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.487, allocations: 0 / 454.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.4872, allocations: 19.98 kB / 454.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4872, allocations: 4 kB / 454.1 MB, free: 0.9102 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 0.0001145/0.4873, allocations: 117.7 kB / 454.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.4874, allocations: 3.906 kB / 454.3 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.4881, allocations: 153.6 kB / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4881, allocations: 0 / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4881, allocations: 0 / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4882, allocations: 0 / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.4884, allocations: 197.6 kB / 454.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4885, allocations: 3.938 kB / 454.6 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.4887, allocations: 27.97 kB / 454.6 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4887, allocations: 0 / 454.6 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4887, allocations: 4 kB / 454.6 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4888, allocations: 0 / 454.6 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4888, allocations: 448 / 454.6 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.4895, allocations: 247.4 kB / 454.9 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.4896, allocations: 85.19 kB / 455 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4896, allocations: 4 kB / 455 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.4898, allocations: 19.98 kB / 455 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.4899, allocations: 3.984 kB / 455 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4899, allocations: 4 kB / 455 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.49, allocations: 95.2 kB / 455.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.49, allocations: 4 kB / 455.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.4903, allocations: 15.91 kB / 455.1 MB, free: 15.84 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.001237/0.4916, allocations: 0.771 MB / 455.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.4923, allocations: 107.9 kB / 456 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4923, allocations: 4 kB / 456 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.4927, allocations: 55.95 kB / 456 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.493, allocations: 14.62 kB / 456.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.4937, allocations: 246.9 kB / 456.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4941, allocations: 0.6964 MB / 457 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.4942, allocations: 19.44 kB / 457 MB, free: 13.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4942, allocations: 0 / 457 MB, free: 13.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.272/2.767, allocations: 1.249 MB / 458.3 MB, free: 12.6 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat