Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.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.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 197 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.311/1.311, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008818/0.0008818, allocations: 90.89 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.96e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09791, allocations: 63.24 MB / 0.5114 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5079, allocations: 90.28 MB / 0.5996 GB, free: 3.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.5081, allocations: 58.41 kB / 0.5997 GB, free: 3.586 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03001/0.5382, allocations: 11.32 MB / 0.6107 GB, free: 9.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5382, allocations: 8 kB / 0.6107 GB, free: 9.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.5382, allocations: 12 kB / 0.6107 GB, free: 9.891 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001601/0.5398, allocations: 0.883 MB / 0.6116 GB, free: 8.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5399, allocations: 11.97 kB / 0.6116 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.672e-05/0.54, allocations: 85.53 kB / 0.6117 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.5403, allocations: 78.56 kB / 0.6118 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.5408, allocations: 379 kB / 0.6121 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.5408, allocations: 37.94 kB / 0.6122 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.5409, allocations: 50.41 kB / 0.6122 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.5416, allocations: 487.7 kB / 0.6127 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.5416, allocations: 3.938 kB / 0.6127 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.5417, allocations: 21.89 kB / 0.6127 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.5417, allocations: 15.94 kB / 0.6127 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.5422, allocations: 277.5 kB / 0.613 GB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.5451, allocations: 1.924 MB / 0.6149 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.5457, allocations: 451.5 kB / 0.6153 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.546, allocations: 219.2 kB / 0.6155 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.5461, allocations: 11.23 kB / 0.6155 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.5461, allocations: 49.69 kB / 0.6156 GB, free: 5.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.5461, allocations: 0 / 0.6156 GB, free: 5.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007282/0.5469, allocations: 356.7 kB / 0.6159 GB, free: 5.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.547, allocations: 293 kB / 0.6162 GB, free: 4.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.5473, allocations: 300.3 kB / 0.6165 GB, free: 4.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.5474, allocations: 36.89 kB / 0.6165 GB, free: 4.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.5475, allocations: 264.3 kB / 0.6168 GB, free: 4.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5476, allocations: 154.8 kB / 0.6169 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.5477, allocations: 18.62 kB / 0.6169 GB, free: 4.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5478, allocations: 360 kB / 0.6173 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.548, allocations: 118.4 kB / 0.6174 GB, free: 3.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.5483, allocations: 261.2 kB / 0.6176 GB, free: 3.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.5486, allocations: 143.1 kB / 0.6178 GB, free: 3.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5486, allocations: 4 kB / 0.6178 GB, free: 3.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002152/0.5507, allocations: 0.8686 MB / 0.6186 GB, free: 2.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004779/0.5512, allocations: 1.307 MB / 0.6199 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.5513, allocations: 4 kB / 0.6199 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.5526, allocations: 390.8 kB / 0.6203 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.5531, allocations: 106.9 kB / 0.6204 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.5589, allocations: 6.43 MB / 0.6266 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.5595, allocations: 125.5 kB / 0.6268 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.5595, allocations: 19.25 kB / 0.6268 GB, free: 10.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.5596, allocations: 7.938 kB / 0.6268 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.5606, allocations: 0.504 MB / 0.6273 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.5607, allocations: 7.953 kB / 0.6273 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.5611, allocations: 130.6 kB / 0.6274 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.5618, allocations: 194.9 kB / 0.6276 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.5653, allocations: 3.358 MB / 0.6309 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.5657, allocations: 104.9 kB / 0.631 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.5658, allocations: 23.05 kB / 0.631 GB, free: 6.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.5659, allocations: 139.8 kB / 0.6311 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5661, allocations: 47.44 kB / 0.6312 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.5669, allocations: 429.4 kB / 0.6316 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5669, allocations: 4 kB / 0.6316 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.567, allocations: 11.98 kB / 0.6316 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.567, allocations: 3.984 kB / 0.6316 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/0.5678, allocations: 499.3 kB / 0.6321 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5678, allocations: 0 / 0.6321 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.5685, allocations: 147.7 kB / 0.6322 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.961e-05/0.5685, allocations: 16.86 kB / 0.6322 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.5686, allocations: 18.67 kB / 0.6323 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/0.5694, allocations: 1.301 MB / 0.6335 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5695, allocations: 11.83 kB / 0.6335 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5706, allocations: 1.147 MB / 0.6347 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.5707, allocations: 132.3 kB / 0.6348 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.5707, allocations: 11.77 kB / 0.6348 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.5714, allocations: 90.97 kB / 0.6349 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5715, allocations: 43.25 kB / 0.6349 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.5716, allocations: 18.92 kB / 0.6349 GB, free: 2.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.5718, allocations: 234 kB / 0.6352 GB, free: 2.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5718, allocations: 0 / 0.6352 GB, free: 2.059 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009472/0.5727, allocations: 211.9 kB / 0.6354 GB, free: 1.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.5743, allocations: 2.122 MB / 0.6374 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.5781, allocations: 1.603 MB / 0.639 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5781, allocations: 3.562 kB / 0.639 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.5785, allocations: 287.5 kB / 0.6393 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.5793, allocations: 122.2 kB / 0.6394 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.5814, allocations: 1.03 MB / 0.6404 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5819, allocations: 0.879 MB / 0.6413 GB, free: 12.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.5822, allocations: 81.23 kB / 0.6413 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.5825, allocations: 173.9 kB / 0.6415 GB, free: 12.04 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5825, allocations: 0 / 0.6415 GB, free: 12.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.612, allocations: 13.56 MB / 0.6548 GB, free: 14.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.6122, allocations: 176.9 kB / 0.6549 GB, free: 14.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.911, allocations: 0 / 0.6549 GB, free: 14.41 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat