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.0009598/0.0009598, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008894/0.0008894, allocations: 101.1 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.648e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08724, allocations: 51.47 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2951/0.3824, allocations: 76.73 MB / 472 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.3826, allocations: 65.81 kB / 472 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003721/0.3864, allocations: 1.398 MB / 473.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3864, allocations: 0 / 473.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3864, allocations: 0 / 473.4 MB, free: 13.7 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.000393/0.3868, allocations: 384.7 kB / 473.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3868, allocations: 12.03 kB / 473.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3869, allocations: 7.375 kB / 473.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.387, allocations: 169 kB / 474 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.387, allocations: 4.859 kB / 474 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.387, allocations: 0 / 474 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.3871, allocations: 31.3 kB / 474 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.3872, allocations: 62.95 kB / 474.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3873, allocations: 0 / 474.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3873, allocations: 0 / 474.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3873, allocations: 8 kB / 474.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3876, allocations: 275.3 kB / 474.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3878, allocations: 52.52 kB / 474.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.3878, allocations: 18.86 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3879, allocations: 0 / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3879, allocations: 39.31 kB / 474.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3879, allocations: 0 / 474.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001845/0.3881, allocations: 60.83 kB / 474.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.3881, allocations: 53.19 kB / 474.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.3882, allocations: 98.91 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3882, allocations: 25.7 kB / 474.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3882, allocations: 101 kB / 474.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3883, allocations: 13.25 kB / 474.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.3883, allocations: 7.172 kB / 474.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.3883, allocations: 320.2 kB / 475.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.3883, allocations: 7.375 kB / 475.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.3884, allocations: 16.25 kB / 475.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.3884, allocations: 14.97 kB / 475.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3884, allocations: 3.953 kB / 475.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.495e-05/0.3885, allocations: 64.28 kB / 475.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3885, allocations: 4 kB / 475.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3885, allocations: 4 kB / 475.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3886, allocations: 4.656 kB / 475.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.3887, allocations: 23.91 kB / 475.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3887, allocations: 0.75 kB / 475.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.3888, allocations: 16.55 kB / 475.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3889, allocations: 4 kB / 475.3 MB, free: 11.85 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 5.025e-05/0.3889, allocations: 109.6 kB / 475.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.705e-05/0.389, allocations: 68.88 kB / 475.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.389, allocations: 7.906 kB / 475.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3892, allocations: 80.41 kB / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3892, allocations: 0 / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3892, allocations: 0 / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3892, allocations: 0.5625 kB / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3893, allocations: 164.9 kB / 475.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3894, allocations: 4.641 kB / 475.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3895, allocations: 33.94 kB / 475.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3895, allocations: 0 / 475.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3895, allocations: 4 kB / 475.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3895, allocations: 0.7031 kB / 475.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3895, allocations: 0.9375 kB / 475.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3897, allocations: 169.5 kB / 475.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.3897, allocations: 90.33 kB / 476 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3897, allocations: 0.5625 kB / 476 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3898, allocations: 17.11 kB / 476 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3899, allocations: 6.625 kB / 476.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3899, allocations: 3.562 kB / 476.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.3899, allocations: 94.23 kB / 476.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3899, allocations: 3.938 kB / 476.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.3902, allocations: 20.89 kB / 476.2 MB, free: 11.01 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.0002712/0.3905, allocations: 0.6957 MB / 476.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.609e-05/0.3906, allocations: 46.42 kB / 476.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3906, allocations: 4 kB / 476.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.3906, allocations: 23.38 kB / 476.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.3908, allocations: 0.75 kB / 476.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.3911, allocations: 128.9 kB / 477.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.3913, allocations: 0.6931 MB / 477.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.3913, allocations: 7.047 kB / 477.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.3914, allocations: 19.7 kB / 477.8 MB, free: 9.383 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3914, allocations: 0 / 477.8 MB, free: 9.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.4098, allocations: 1.283 MB / 479.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.41, allocations: 139.1 kB / 479.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.843, allocations: 0 / 479.2 MB, free: 8.477 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