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.001564/0.001564, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007767/0.0007768, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.338e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 47.58 MB / 363.2 MB, free: 7 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5232, allocations: 75.22 MB / 438.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5235, allocations: 64.53 kB / 438.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003666/0.5271, allocations: 1.283 MB / 439.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5272, allocations: 0 / 439.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5272, allocations: 0 / 439.7 MB, free: 2.984 MB / 314.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.0004808/0.5277, allocations: 390.3 kB / 440.1 MB, free: 2.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5277, allocations: 12.03 kB / 440.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.5278, allocations: 4.781 kB / 440.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5279, allocations: 171 kB / 440.3 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5279, allocations: 4 kB / 440.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.5279, allocations: 0 / 440.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.5281, allocations: 37.34 kB / 440.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5282, allocations: 52.06 kB / 440.4 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5282, allocations: 7.984 kB / 440.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5282, allocations: 4 kB / 440.4 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5282, allocations: 0 / 440.4 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.5286, allocations: 285.9 kB / 440.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5288, allocations: 48.17 kB / 440.7 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.5288, allocations: 21.69 kB / 440.7 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.5289, allocations: 8 kB / 440.7 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5289, allocations: 37.98 kB / 440.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5289, allocations: 0 / 440.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001605/0.5291, allocations: 59.69 kB / 440.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.5291, allocations: 51.41 kB / 440.9 MB, free: 1.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.5292, allocations: 96.31 kB / 441 MB, free: 1.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5292, allocations: 25.7 kB / 441 MB, free: 1.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.5293, allocations: 98.72 kB / 441.1 MB, free: 1.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.5293, allocations: 11.81 kB / 441.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.5293, allocations: 0 / 441.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5295, allocations: 321.6 kB / 441.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.5295, allocations: 19.06 kB / 441.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.5295, allocations: 7.312 kB / 441.4 MB, free: 1.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.5296, allocations: 15.75 kB / 441.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5296, allocations: 3.953 kB / 441.5 MB, free: 1.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.466e-05/0.5297, allocations: 64.34 kB / 441.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5297, allocations: 8 kB / 441.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5297, allocations: 4.656 kB / 441.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5297, allocations: 0 / 441.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5299, allocations: 27.91 kB / 441.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5299, allocations: 0 / 441.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.53, allocations: 19.92 kB / 441.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.53, allocations: 8 kB / 441.6 MB, free: 1.023 MB / 314.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.99e-05/0.5301, allocations: 104.9 kB / 441.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001029/0.5302, allocations: 73.7 kB / 441.8 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5302, allocations: 7.906 kB / 441.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.5304, allocations: 79.38 kB / 441.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5304, allocations: 0 / 441.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5304, allocations: 0 / 441.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5304, allocations: 0 / 441.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.5306, allocations: 160.7 kB / 442 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5306, allocations: 4 kB / 442 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.5307, allocations: 31.91 kB / 442 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5307, allocations: 4 kB / 442.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.5308, allocations: 0 / 442.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5308, allocations: 0 / 442.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5308, allocations: 0.7812 kB / 442.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.5309, allocations: 169.5 kB / 442.2 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.531, allocations: 84.97 kB / 442.3 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.531, allocations: 0 / 442.3 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5311, allocations: 19.97 kB / 442.3 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.5312, allocations: 4 kB / 442.3 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.5312, allocations: 3.5 kB / 442.3 MB, free: 260 kB / 314.7 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.5312, allocations: 90.7 kB / 442.4 MB, free: 172 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5312, allocations: 4 kB / 442.4 MB, free: 168 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.5315, allocations: 15.94 kB / 442.4 MB, free: 152 kB / 314.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.0004482/0.5319, allocations: 0.7054 MB / 443.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.532, allocations: 37.56 kB / 443.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.532, allocations: 0 / 443.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.5321, allocations: 26.94 kB / 443.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.5322, allocations: 4.281 kB / 443.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.5326, allocations: 134.8 kB / 443.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5329, allocations: 0.6885 MB / 444 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.533, allocations: 8.5 kB / 444 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.533, allocations: 20.81 kB / 444.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.533, allocations: 0 / 444.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.5521, allocations: 1.281 MB / 445.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.5524, allocations: 141.6 kB / 445.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.998, allocations: 0 / 445.5 MB, free: 13.02 MB / 330.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