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.00149/0.00149, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.488/1.488, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 91.66 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.117e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.6154, allocations: 89.21 MB / 0.5889 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.6157, allocations: 60.06 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.6491, allocations: 11.43 MB / 0.6001 GB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6492, allocations: 0 / 0.6001 GB, free: 4.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.789e-05/0.6493, allocations: 15.94 kB / 0.6001 GB, free: 4.488 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.001702/0.651, allocations: 0.8726 MB / 0.601 GB, free: 3.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.651, allocations: 8.031 kB / 0.601 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.6511, allocations: 86.52 kB / 0.6011 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.6513, allocations: 67.19 kB / 0.6012 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.6518, allocations: 384.2 kB / 0.6015 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.6519, allocations: 40.95 kB / 0.6016 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.652, allocations: 55.73 kB / 0.6016 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.6528, allocations: 484.7 kB / 0.6021 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6528, allocations: 0 / 0.6021 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.6528, allocations: 28 kB / 0.6021 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.6529, allocations: 16 kB / 0.6021 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.6534, allocations: 271.8 kB / 0.6024 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.6566, allocations: 1.942 MB / 0.6043 GB, free: 40 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.6573, allocations: 434.4 kB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.6576, allocations: 213.9 kB / 0.6049 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.6577, allocations: 16.92 kB / 0.6049 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6577, allocations: 46.5 kB / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/0.6577, allocations: 0 / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007796/0.6585, allocations: 360.9 kB / 0.6053 GB, free: 14.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.6587, allocations: 290.8 kB / 0.6056 GB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.659, allocations: 306.8 kB / 0.6059 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.659, allocations: 33.7 kB / 0.6059 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.6592, allocations: 256.1 kB / 0.6061 GB, free: 13.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.6594, allocations: 157.7 kB / 0.6063 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.6594, allocations: 12 kB / 0.6063 GB, free: 13.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6596, allocations: 358.7 kB / 0.6066 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.6598, allocations: 121.1 kB / 0.6068 GB, free: 13.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.6602, allocations: 261 kB / 0.607 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.6604, allocations: 147.8 kB / 0.6071 GB, free: 12.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6604, allocations: 3.938 kB / 0.6072 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002241/0.6627, allocations: 0.8606 MB / 0.608 GB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005803/0.6633, allocations: 1.327 MB / 0.6093 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6633, allocations: 4 kB / 0.6093 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6647, allocations: 396.8 kB / 0.6097 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.6652, allocations: 107.9 kB / 0.6098 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.6714, allocations: 6.414 MB / 0.616 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.6721, allocations: 127.6 kB / 0.6162 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.6722, allocations: 20.44 kB / 0.6162 GB, free: 3.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6722, allocations: 4 kB / 0.6162 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/0.6733, allocations: 0.4976 MB / 0.6167 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.6734, allocations: 96 / 0.6167 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/0.6738, allocations: 149.5 kB / 0.6168 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.6746, allocations: 187.9 kB / 0.617 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.6782, allocations: 3.365 MB / 0.6203 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.6788, allocations: 107.5 kB / 0.6204 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.6789, allocations: 20 kB / 0.6204 GB, free: 14.45 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 () * 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.0002373/0.6791, allocations: 138.8 kB / 0.6205 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.6794, allocations: 47.44 kB / 0.6206 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.6803, allocations: 433.3 kB / 0.621 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6803, allocations: 8 kB / 0.621 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6803, allocations: 0 / 0.621 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6803, allocations: 7.984 kB / 0.621 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.6812, allocations: 493 kB / 0.6215 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6813, allocations: 4 kB / 0.6215 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007287/0.682, allocations: 151.8 kB / 0.6216 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-05/0.6821, allocations: 24.86 kB / 0.6216 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.6822, allocations: 11.98 kB / 0.6217 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009211/0.6831, allocations: 1.301 MB / 0.6229 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6831, allocations: 4.031 kB / 0.6229 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.6843, allocations: 1.144 MB / 0.624 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.6844, allocations: 120.5 kB / 0.6242 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.6845, allocations: 20.11 kB / 0.6242 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.6852, allocations: 95.84 kB / 0.6243 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6853, allocations: 47.83 kB / 0.6243 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6853, allocations: 16 kB / 0.6243 GB, free: 10.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.6856, allocations: 233.2 kB / 0.6246 GB, free: 9.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6856, allocations: 0 / 0.6246 GB, free: 9.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001155/0.6868, allocations: 207.4 kB / 0.6248 GB, free: 9.703 MB / 442.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.001652/0.6884, allocations: 2.134 MB / 0.6268 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004091/0.6925, allocations: 1.612 MB / 0.6284 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6926, allocations: 0 / 0.6284 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.693, allocations: 298.4 kB / 0.6287 GB, free: 5.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.6938, allocations: 112.7 kB / 0.6288 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.6961, allocations: 1.024 MB / 0.6298 GB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.6966, allocations: 0.8674 MB / 0.6307 GB, free: 3.449 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004008/0.697, allocations: 90.19 kB / 0.6307 GB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.6973, allocations: 167.4 kB / 0.6309 GB, free: 3.195 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6973, allocations: 4 kB / 0.6309 GB, free: 3.191 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.7294, allocations: 13.58 MB / 0.6442 GB, free: 5.762 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.7297, allocations: 175.3 kB / 0.6443 GB, free: 5.535 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.303, allocations: 0 / 0.6443 GB, free: 5.535 MB / 458.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