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.001256/0.001255, allocations: 203.5 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.427/1.427, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008818/0.0008819, allocations: 93.25 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 45.14 MB / 383.7 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.101e-05, allocations: 2.656 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 63.25 MB / 0.5044 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5301, allocations: 89.5 MB / 0.5918 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5305, allocations: 61.73 kB / 0.5919 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04009/0.5706, allocations: 17 MB / 0.6085 GB, free: 15.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5706, allocations: 0 / 0.6085 GB, free: 15.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.5706, allocations: 4 kB / 0.6085 GB, free: 15.32 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.0006856/0.5713, allocations: 490.3 kB / 0.609 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5714, allocations: 12.03 kB / 0.609 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.5714, allocations: 3.953 kB / 0.609 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.5715, allocations: 163.1 kB / 0.6091 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5716, allocations: 0 / 0.6091 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.5716, allocations: 0 / 0.6091 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.276e-05/0.5716, allocations: 4 kB / 0.6092 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.502e-05/0.5717, allocations: 36.62 kB / 0.6092 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.5717, allocations: 0 / 0.6092 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.5717, allocations: 4 kB / 0.6092 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5717, allocations: 3.953 kB / 0.6092 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.5718, allocations: 122.3 kB / 0.6093 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.5719, allocations: 22.58 kB / 0.6093 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.5719, allocations: 4.859 kB / 0.6093 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.5719, allocations: 0 / 0.6093 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.572, allocations: 63.77 kB / 0.6094 GB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.572, allocations: 4 kB / 0.6094 GB, free: 14.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.5721, allocations: 37.62 kB / 0.6094 GB, free: 14.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.5722, allocations: 77.11 kB / 0.6095 GB, free: 14.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.5722, allocations: 85 kB / 0.6096 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5723, allocations: 25.7 kB / 0.6096 GB, free: 14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.5723, allocations: 84.14 kB / 0.6097 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.5723, allocations: 0.625 kB / 0.6097 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5723, allocations: 0 / 0.6097 GB, free: 13.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5725, allocations: 322.9 kB / 0.61 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-06/0.5725, allocations: 0 / 0.61 GB, free: 13.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.5725, allocations: 0 / 0.61 GB, free: 13.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.5725, allocations: 7.938 kB / 0.61 GB, free: 13.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5725, allocations: 0 / 0.61 GB, free: 13.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.048e-05/0.5726, allocations: 33.69 kB / 0.61 GB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5726, allocations: 33.7 kB / 0.6101 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5727, allocations: 0 / 0.6101 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5727, allocations: 0 / 0.6101 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.5727, allocations: 8.031 kB / 0.6101 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5727, allocations: 3.938 kB / 0.6101 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.5727, allocations: 0 / 0.6101 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.5727, allocations: 0 / 0.6101 GB, free: 13.5 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 7.922e-05/0.5728, allocations: 141.5 kB / 0.6102 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.966e-05/0.5729, allocations: 33.7 kB / 0.6103 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.5729, allocations: 3.906 kB / 0.6103 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.5729, allocations: 11.7 kB / 0.6103 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5729, allocations: 0 / 0.6103 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5729, allocations: 4.031 kB / 0.6103 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-06/0.5729, allocations: 0 / 0.6103 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.573, allocations: 130.2 kB / 0.6104 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.573, allocations: 0 / 0.6104 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.573, allocations: 0 / 0.6104 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5731, allocations: 4 kB / 0.6104 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.5731, allocations: 0 / 0.6104 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5731, allocations: 3.984 kB / 0.6104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5731, allocations: 0 / 0.6104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.5732, allocations: 76.25 kB / 0.6105 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.5732, allocations: 81.11 kB / 0.6106 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.5732, allocations: 0 / 0.6106 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.5733, allocations: 7.062 kB / 0.6106 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.5733, allocations: 0 / 0.6106 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.5733, allocations: 0 / 0.6106 GB, free: 12.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.609e-05/0.5733, allocations: 75.28 kB / 0.6106 GB, free: 12.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5733, allocations: 0 / 0.6106 GB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004426/0.5738, allocations: 150.1 kB / 0.6108 GB, free: 12.72 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.001275/0.5751, allocations: 0.987 MB / 0.6117 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.5752, allocations: 66.77 kB / 0.6118 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5752, allocations: 0 / 0.6118 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.5752, allocations: 51.41 kB / 0.6119 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.386e-05/0.5753, allocations: 8.125 kB / 0.6119 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.5757, allocations: 142.4 kB / 0.612 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.576, allocations: 0.6768 MB / 0.6127 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.871e-06/0.576, allocations: 0 / 0.6127 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.576, allocations: 11.44 kB / 0.6127 GB, free: 10.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.576, allocations: 0 / 0.6127 GB, free: 10.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.6012, allocations: 3.301 MB / 0.6159 GB, free: 7.441 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.6015, allocations: 153.3 kB / 0.616 GB, free: 7.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.287, allocations: 4.031 kB / 0.616 GB, free: 7.25 MB / 410.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