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.001426/0.001426, allocations: 175.9 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 94.19 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 0 / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09864, allocations: 50.42 MB / 387.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4335, allocations: 75.86 MB / 463.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.4337, allocations: 63.97 kB / 463.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003659/0.4374, allocations: 1.329 MB / 464.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4374, allocations: 4 kB / 464.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.4374, allocations: 0 / 464.8 MB, free: 1.469 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.0004763/0.4379, allocations: 383.1 kB / 465.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4379, allocations: 8.031 kB / 465.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.438, allocations: 7.953 kB / 465.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4381, allocations: 178.9 kB / 465.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4381, allocations: 0 / 465.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4382, allocations: 4 kB / 465.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.4383, allocations: 28 kB / 465.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4384, allocations: 57.62 kB / 465.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4384, allocations: 0 / 465.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4384, allocations: 0 / 465.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4385, allocations: 11.95 kB / 465.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.4389, allocations: 285.2 kB / 465.7 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.439, allocations: 50.56 kB / 465.8 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.4391, allocations: 21.02 kB / 465.8 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4391, allocations: 4 kB / 465.8 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4392, allocations: 38.52 kB / 465.9 MB, free: 272 kB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4392, allocations: 0 / 465.9 MB, free: 272 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002088/0.4394, allocations: 61.69 kB / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4394, allocations: 55.41 kB / 466 MB, free: 136 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.4395, allocations: 102.3 kB / 466.1 MB, free: 28 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.4396, allocations: 25.7 kB / 466.1 MB, free: 16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.4396, allocations: 92.03 kB / 466.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.4396, allocations: 19.75 kB / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.4397, allocations: 0 / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4398, allocations: 318.8 kB / 466.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.4398, allocations: 15.94 kB / 466.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.4398, allocations: 16 kB / 466.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.4399, allocations: 15.94 kB / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4399, allocations: 0 / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.971e-05/0.44, allocations: 65.59 kB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.44, allocations: 4 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.44, allocations: 0 / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4401, allocations: 7.953 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4402, allocations: 27.97 kB / 466.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.4402, allocations: 0 / 466.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.4403, allocations: 15.98 kB / 466.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4403, allocations: 0 / 466.7 MB, free: 15.39 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 6.634e-05/0.4404, allocations: 110.9 kB / 466.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001337/0.4406, allocations: 65.62 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4406, allocations: 7.859 kB / 466.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.4408, allocations: 74.39 kB / 466.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4408, allocations: 4 kB / 466.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4408, allocations: 0 / 466.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4408, allocations: 4 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.441, allocations: 158.2 kB / 467.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.441, allocations: 0 / 467.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.4411, allocations: 31.97 kB / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4411, allocations: 3.938 kB / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.4411, allocations: 0 / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4411, allocations: 7.953 kB / 467.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4412, allocations: 0 / 467.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.4413, allocations: 167.4 kB / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.4414, allocations: 89.02 kB / 467.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4414, allocations: 0 / 467.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4415, allocations: 19.97 kB / 467.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.4416, allocations: 7.953 kB / 467.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4416, allocations: 0 / 467.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.4416, allocations: 95.58 kB / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4416, allocations: 0 / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.4419, allocations: 15.94 kB / 467.5 MB, free: 14.46 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.0004676/0.4424, allocations: 0.7085 MB / 468.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.4425, allocations: 40.72 kB / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4425, allocations: 4 kB / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.4426, allocations: 27.94 kB / 468.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4428, allocations: 3.953 kB / 468.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.4432, allocations: 121.7 kB / 468.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4436, allocations: 0.6963 MB / 469.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.4436, allocations: 7.906 kB / 469.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.4437, allocations: 19.44 kB / 469.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4437, allocations: 0 / 469.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4641, allocations: 1.277 MB / 470.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.4645, allocations: 151.1 kB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.941, allocations: 1.688 kB / 470.6 MB, free: 11.27 MB / 346.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