Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 98.91 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3051/0.3051, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005466, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2984, allocations: 61.91 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.4034, allocations: 89.28 MB / 0.5968 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4036, allocations: 63.94 kB / 0.5969 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03104/0.4347, allocations: 11.44 MB / 0.6081 GB, free: 10.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4347, allocations: 0 / 0.6081 GB, free: 10.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.869e-05/0.4348, allocations: 12 kB / 0.6081 GB, free: 10.23 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002007/0.4368, allocations: 0.9427 MB / 0.609 GB, free: 9.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4369, allocations: 12.03 kB / 0.609 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.437, allocations: 86.52 kB / 0.6091 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.4371, allocations: 67.25 kB / 0.6091 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.4377, allocations: 373.9 kB / 0.6095 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.4377, allocations: 44.94 kB / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.4378, allocations: 51.91 kB / 0.6096 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4391, allocations: 0.6527 MB / 0.6102 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4391, allocations: 4 kB / 0.6102 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.4392, allocations: 20 kB / 0.6103 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4392, allocations: 12 kB / 0.6103 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4407, allocations: 0.6305 MB / 0.6109 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.4439, allocations: 1.933 MB / 0.6128 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.4455, allocations: 0.6934 MB / 0.6134 GB, free: 4.434 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.4455, allocations: 4.938 kB / 0.6135 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.4456, allocations: 46.5 kB / 0.6135 GB, free: 4.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.4456, allocations: 0 / 0.6135 GB, free: 4.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.002672/0.4483, allocations: 0.9149 MB / 0.6144 GB, free: 3.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.4484, allocations: 286.7 kB / 0.6147 GB, free: 3.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.4488, allocations: 300.9 kB / 0.615 GB, free: 2.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.4489, allocations: 33.7 kB / 0.615 GB, free: 2.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.449, allocations: 260.5 kB / 0.6152 GB, free: 2.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4491, allocations: 161.7 kB / 0.6154 GB, free: 2.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.4492, allocations: 11.94 kB / 0.6154 GB, free: 2.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4493, allocations: 362.7 kB / 0.6157 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.4501, allocations: 276.9 kB / 0.616 GB, free: 1.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.4509, allocations: 408.9 kB / 0.6164 GB, free: 1.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.4517, allocations: 299.6 kB / 0.6167 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.4517, allocations: 4 kB / 0.6167 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003412/0.4551, allocations: 1.216 MB / 0.6179 GB, free: 15.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003865/0.4555, allocations: 1.317 MB / 0.6192 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4556, allocations: 4 kB / 0.6192 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.4574, allocations: 492.7 kB / 0.6196 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.4578, allocations: 115.8 kB / 0.6197 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.4645, allocations: 6.724 MB / 0.6263 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.4651, allocations: 120.2 kB / 0.6264 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.4652, allocations: 23.98 kB / 0.6264 GB, free: 6.414 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4652, allocations: 4 kB / 0.6265 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001997/0.4672, allocations: 0.7624 MB / 0.6272 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4672, allocations: 4 kB / 0.6272 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.4679, allocations: 166.2 kB / 0.6274 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.4687, allocations: 195.7 kB / 0.6275 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.4726, allocations: 3.579 MB / 0.631 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.4731, allocations: 103.6 kB / 0.6311 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.4732, allocations: 16 kB / 0.6312 GB, free: 1.312 MB / 442.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 () * Number of clocked 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.0003015/0.4735, allocations: 248.9 kB / 0.6314 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.4737, allocations: 47.44 kB / 0.6314 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4755, allocations: 0.7202 MB / 0.6321 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4755, allocations: 8 kB / 0.6321 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4755, allocations: 0 / 0.6321 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4755, allocations: 4 kB / 0.6322 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.4764, allocations: 496.9 kB / 0.6326 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4764, allocations: 4 kB / 0.6326 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.4771, allocations: 151.8 kB / 0.6328 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.483e-05/0.4772, allocations: 24.84 kB / 0.6328 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.4772, allocations: 15.98 kB / 0.6328 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008569/0.4781, allocations: 1.305 MB / 0.6341 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4781, allocations: 8.016 kB / 0.6341 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.4807, allocations: 1.594 MB / 0.6357 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4809, allocations: 120.5 kB / 0.6358 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.481, allocations: 16 kB / 0.6358 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/0.4817, allocations: 87.92 kB / 0.6359 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4818, allocations: 43.89 kB / 0.6359 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.4818, allocations: 19.98 kB / 0.6359 GB, free: 12.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.4821, allocations: 231.2 kB / 0.6361 GB, free: 11.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4821, allocations: 0 / 0.6361 GB, free: 11.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001256/0.4834, allocations: 223.2 kB / 0.6364 GB, free: 11.69 MB / 458.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 () * Number of clocked 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.003045/0.4864, allocations: 2.58 MB / 0.6389 GB, free: 9.051 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005278/0.4917, allocations: 2.011 MB / 0.6408 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4918, allocations: 4.062 kB / 0.6408 GB, free: 6.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.4927, allocations: 450.3 kB / 0.6413 GB, free: 6.531 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.4936, allocations: 122 kB / 0.6414 GB, free: 6.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008439/0.502, allocations: 6.014 MB / 0.6473 GB, free: 252 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5025, allocations: 0.8745 MB / 0.6481 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.5028, allocations: 55.27 kB / 0.6482 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.503, allocations: 175.4 kB / 0.6483 GB, free: 15.12 MB / 474.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5031, allocations: 0 / 0.6483 GB, free: 15.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.5294, allocations: 12.85 MB / 0.6609 GB, free: 2.492 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.5297, allocations: 189.6 kB / 0.6611 GB, free: 2.258 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.859, allocations: 0 / 0.6611 GB, free: 2.258 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat