Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009036, allocations: 88.97 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 45.13 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.225e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 63.24 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4774, allocations: 90.16 MB / 0.5995 GB, free: 3.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4776, allocations: 62.47 kB / 0.5996 GB, free: 3.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03884/0.5165, allocations: 16.98 MB / 0.6161 GB, free: 5.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5165, allocations: 4 kB / 0.6161 GB, free: 5.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.5166, allocations: 0 / 0.6161 GB, free: 5.613 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005536/0.5171, allocations: 487.2 kB / 0.6166 GB, free: 5.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5172, allocations: 11.97 kB / 0.6166 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.5172, allocations: 34.56 kB / 0.6167 GB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.5172, allocations: 3.953 kB / 0.6167 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.5173, allocations: 159.1 kB / 0.6168 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5173, allocations: 0 / 0.6168 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.5173, allocations: 3.938 kB / 0.6168 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.5174, allocations: 45.11 kB / 0.6169 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5174, allocations: 0 / 0.6169 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.5175, allocations: 0 / 0.6169 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5175, allocations: 3.953 kB / 0.6169 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.5175, allocations: 0 / 0.6169 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.5176, allocations: 145.7 kB / 0.617 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/0.5177, allocations: 14.58 kB / 0.617 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.5177, allocations: 12.89 kB / 0.617 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.5177, allocations: 4 kB / 0.617 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5177, allocations: 59.7 kB / 0.6171 GB, free: 4.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5177, allocations: 0 / 0.6171 GB, free: 4.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.5179, allocations: 63.39 kB / 0.6172 GB, free: 4.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5179, allocations: 77.11 kB / 0.6172 GB, free: 4.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.843e-05/0.518, allocations: 85 kB / 0.6173 GB, free: 4.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.518, allocations: 25.7 kB / 0.6173 GB, free: 4.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.518, allocations: 80.17 kB / 0.6174 GB, free: 4.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.518, allocations: 8.438 kB / 0.6174 GB, free: 4.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.518, allocations: 0 / 0.6174 GB, free: 4.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.5181, allocations: 318.8 kB / 0.6177 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.5181, allocations: 3.938 kB / 0.6177 GB, free: 3.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.5182, allocations: 7.875 kB / 0.6177 GB, free: 3.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.5182, allocations: 33.69 kB / 0.6178 GB, free: 3.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5182, allocations: 0 / 0.6178 GB, free: 3.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.185e-05/0.5183, allocations: 55.5 kB / 0.6178 GB, free: 3.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5183, allocations: 38.95 kB / 0.6179 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5183, allocations: 0 / 0.6179 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5183, allocations: 0 / 0.6179 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.5183, allocations: 0 / 0.6179 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5183, allocations: 3.984 kB / 0.6179 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.5184, allocations: 4 kB / 0.6179 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.5184, allocations: 4 kB / 0.6179 GB, free: 3.613 MB / 410.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.522e-05/0.5184, allocations: 135.5 kB / 0.618 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.5184, allocations: 0 / 0.618 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.5185, allocations: 15.06 kB / 0.618 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5185, allocations: 4 kB / 0.618 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5185, allocations: 0 / 0.618 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5185, allocations: 0 / 0.618 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.564e-05/0.5186, allocations: 149.6 kB / 0.6182 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5186, allocations: 0 / 0.6182 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.5186, allocations: 0 / 0.6182 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5186, allocations: 3.938 kB / 0.6182 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.5186, allocations: 4 kB / 0.6182 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5186, allocations: 0 / 0.6182 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.5186, allocations: 0 / 0.6182 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.803e-05/0.5187, allocations: 102.5 kB / 0.6183 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.5187, allocations: 77.11 kB / 0.6183 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.5188, allocations: 0 / 0.6183 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.5188, allocations: 0 / 0.6183 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.5188, allocations: 0 / 0.6183 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.5188, allocations: 4 kB / 0.6183 GB, free: 3.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.5188, allocations: 75.28 kB / 0.6184 GB, free: 2.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5188, allocations: 4.031 kB / 0.6184 GB, free: 2.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.5192, allocations: 154.3 kB / 0.6186 GB, free: 2.812 MB / 410.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001117/0.5203, allocations: 1.018 MB / 0.6196 GB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.5204, allocations: 63.33 kB / 0.6196 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5204, allocations: 0 / 0.6196 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.5205, allocations: 55.41 kB / 0.6197 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.149e-05/0.5205, allocations: 9.188 kB / 0.6197 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5208, allocations: 150.7 kB / 0.6198 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.521, allocations: 0.6731 MB / 0.6205 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.769e-06/0.5211, allocations: 0 / 0.6205 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.5211, allocations: 11.44 kB / 0.6205 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5211, allocations: 0 / 0.6205 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.5351, allocations: 3.673 MB / 0.6241 GB, free: 13.24 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.5352, allocations: 176.2 kB / 0.6242 GB, free: 13.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.126, allocations: 0 / 0.6242 GB, free: 13.02 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat