Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.002249, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 106.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3577/0.3577, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 12.22 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3802, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.5207, allocations: 91.82 MB / 0.6089 GB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.5211, allocations: 71.94 kB / 0.609 GB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5403, allocations: 6.342 MB / 0.6152 GB, free: 5.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5403, allocations: 0 / 0.6152 GB, free: 5.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.5403, allocations: 4 kB / 0.6152 GB, free: 5.062 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007192/0.5411, allocations: 499.1 kB / 0.6157 GB, free: 4.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5411, allocations: 8.031 kB / 0.6157 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.5413, allocations: 90.86 kB / 0.6158 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.5423, allocations: 83.58 kB / 0.6158 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.5425, allocations: 194.7 kB / 0.616 GB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.5425, allocations: 28.66 kB / 0.6161 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.5425, allocations: 28 kB / 0.6161 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.543, allocations: 230 kB / 0.6163 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.543, allocations: 4 kB / 0.6163 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.5431, allocations: 12 kB / 0.6163 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5431, allocations: 8 kB / 0.6163 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.5434, allocations: 166.5 kB / 0.6165 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.5445, allocations: 0.6516 MB / 0.6171 GB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.545, allocations: 225.3 kB / 0.6173 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5451, allocations: 8.219 kB / 0.6173 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5451, allocations: 34.8 kB / 0.6174 GB, free: 2.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.5451, allocations: 0 / 0.6174 GB, free: 2.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004703/0.5456, allocations: 232.1 kB / 0.6176 GB, free: 2.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5456, allocations: 51.41 kB / 0.6177 GB, free: 2.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.5457, allocations: 97 kB / 0.6177 GB, free: 2.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5458, allocations: 29.7 kB / 0.6178 GB, free: 2.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.5458, allocations: 148.3 kB / 0.6179 GB, free: 2.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.5459, allocations: 86.66 kB / 0.618 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5459, allocations: 15.94 kB / 0.618 GB, free: 1.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.546, allocations: 318.8 kB / 0.6183 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.5461, allocations: 39.98 kB / 0.6184 GB, free: 1.609 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.5462, allocations: 45.14 kB / 0.6184 GB, free: 1.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5464, allocations: 61.38 kB / 0.6185 GB, free: 1.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5464, allocations: 0 / 0.6185 GB, free: 1.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002772/0.5467, allocations: 177.5 kB / 0.6186 GB, free: 1.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5467, allocations: 4 kB / 0.6186 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5467, allocations: 0 / 0.6186 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5467, allocations: 0 / 0.6186 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.5471, allocations: 95.89 kB / 0.6187 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.5472, allocations: 15.94 kB / 0.6187 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.5472, allocations: 19.83 kB / 0.6188 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.5473, allocations: 4.25 kB / 0.6188 GB, free: 1.191 MB / 426.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 (27): * Single equations (assignments): 27 * 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.000121/0.5474, allocations: 125.8 kB / 0.6189 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.5474, allocations: 7.906 kB / 0.6189 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.5475, allocations: 25.12 kB / 0.6189 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5475, allocations: 0 / 0.6189 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5475, allocations: 4 kB / 0.6189 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5475, allocations: 11.94 kB / 0.6189 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.5479, allocations: 289.4 kB / 0.6192 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5479, allocations: 7.875 kB / 0.6192 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5483, allocations: 95.94 kB / 0.6193 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5483, allocations: 0 / 0.6193 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5483, allocations: 8 kB / 0.6193 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5483, allocations: 0 / 0.6193 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5483, allocations: 4 kB / 0.6193 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.5487, allocations: 279.2 kB / 0.6196 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.5487, allocations: 88.95 kB / 0.6197 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.5488, allocations: 4 kB / 0.6197 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.5489, allocations: 12.52 kB / 0.6197 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.5489, allocations: 15.98 kB / 0.6197 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5489, allocations: 8 kB / 0.6197 GB, free: 132 kB / 426.7 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.549, allocations: 79.28 kB / 0.6198 GB, free: 52 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 0 / 0.6198 GB, free: 52 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.5493, allocations: 59.86 kB / 0.6198 GB, free: 15.99 MB / 442.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 (27): * Single equations (assignments): 27 * 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.000816/0.5501, allocations: 0.8882 MB / 0.6207 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.5504, allocations: 131.9 kB / 0.6208 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5505, allocations: 0 / 0.6208 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.5506, allocations: 83.84 kB / 0.6209 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.5508, allocations: 10.66 kB / 0.6209 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.5525, allocations: 1.128 MB / 0.622 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5528, allocations: 0.748 MB / 0.6227 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.553, allocations: 17.41 kB / 0.6228 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5531, allocations: 67.41 kB / 0.6228 GB, free: 12.82 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5531, allocations: 0 / 0.6228 GB, free: 12.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.5686, allocations: 2.351 MB / 0.6251 GB, free: 10.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.5689, allocations: 169.9 kB / 0.6253 GB, free: 10.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.222, allocations: 64 / 0.6253 GB, free: 10.34 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat