Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 184.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2008/0.2008, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004236, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.51, allocations: 88.29 MB / 0.5651 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5102, allocations: 67.75 kB / 0.5651 GB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03154/0.5418, allocations: 11.39 MB / 0.5762 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5418, allocations: 0 / 0.5762 GB, free: 1.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.5419, allocations: 16 kB / 0.5763 GB, free: 1.324 MB / 378.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.001795/0.5437, allocations: 0.9456 MB / 0.5772 GB, free: 372 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5437, allocations: 12.03 kB / 0.5772 GB, free: 360 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.5438, allocations: 81.09 kB / 0.5773 GB, free: 296 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5439, allocations: 71.14 kB / 0.5773 GB, free: 224 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.5445, allocations: 400.2 kB / 0.5777 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.5446, allocations: 36.31 kB / 0.5778 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/0.5446, allocations: 51.11 kB / 0.5778 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.546, allocations: 0.6549 MB / 0.5784 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.546, allocations: 0 / 0.5784 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.546, allocations: 23.31 kB / 0.5785 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.546, allocations: 8 kB / 0.5785 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.5476, allocations: 0.6241 MB / 0.5791 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.5508, allocations: 1.941 MB / 0.581 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5523, allocations: 0.693 MB / 0.5817 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.5524, allocations: 8.922 kB / 0.5817 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5524, allocations: 49.23 kB / 0.5817 GB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.5524, allocations: 0 / 0.5817 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002455/0.5549, allocations: 0.9029 MB / 0.5826 GB, free: 11.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5551, allocations: 302 kB / 0.5829 GB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5554, allocations: 309.7 kB / 0.5832 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.5554, allocations: 36.7 kB / 0.5832 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.5556, allocations: 275.2 kB / 0.5835 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.5558, allocations: 160 kB / 0.5836 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.5558, allocations: 6.812 kB / 0.5836 GB, free: 10.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5559, allocations: 360 kB / 0.584 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.5567, allocations: 275.7 kB / 0.5842 GB, free: 9.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.5575, allocations: 412.8 kB / 0.5846 GB, free: 9.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.5582, allocations: 295.1 kB / 0.5849 GB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5582, allocations: 4 kB / 0.5849 GB, free: 9.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003321/0.5616, allocations: 1.22 MB / 0.5861 GB, free: 8.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005363/0.5621, allocations: 1.315 MB / 0.5874 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5621, allocations: 4 kB / 0.5874 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.564, allocations: 494.2 kB / 0.5879 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.5645, allocations: 111.8 kB / 0.588 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007389/0.5719, allocations: 6.74 MB / 0.5946 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.5727, allocations: 129 kB / 0.5947 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.5727, allocations: 18.73 kB / 0.5947 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.5728, allocations: 4 kB / 0.5947 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/0.5747, allocations: 0.7573 MB / 0.5954 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5747, allocations: 4 kB / 0.5954 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.5754, allocations: 167.6 kB / 0.5956 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.5762, allocations: 195 kB / 0.5958 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.5805, allocations: 3.569 MB / 0.5993 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.5812, allocations: 99.41 kB / 0.5994 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5812, allocations: 27 kB / 0.5994 GB, free: 10.73 MB / 410.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.0004426/0.5817, allocations: 245 kB / 0.5996 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.5819, allocations: 51.44 kB / 0.5997 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.5837, allocations: 0.7232 MB / 0.6004 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5837, allocations: 4 kB / 0.6004 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5838, allocations: 7.938 kB / 0.6004 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5838, allocations: 3.953 kB / 0.6004 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.5847, allocations: 497.8 kB / 0.6009 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.5847, allocations: 4 kB / 0.6009 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.5854, allocations: 151.4 kB / 0.601 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.964e-05/0.5855, allocations: 20.3 kB / 0.601 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.5856, allocations: 14.8 kB / 0.6011 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008778/0.5865, allocations: 1.31 MB / 0.6023 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5865, allocations: 4.031 kB / 0.6023 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.5891, allocations: 1.597 MB / 0.6039 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.5893, allocations: 121 kB / 0.604 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5894, allocations: 12.94 kB / 0.604 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.5901, allocations: 94.55 kB / 0.6041 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5902, allocations: 34.33 kB / 0.6042 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.5902, allocations: 22.67 kB / 0.6042 GB, free: 6.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002746/0.5905, allocations: 244.6 kB / 0.6044 GB, free: 5.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5905, allocations: 7.938 kB / 0.6044 GB, free: 5.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001232/0.5918, allocations: 210.4 kB / 0.6046 GB, free: 5.684 MB / 410.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.003264/0.595, allocations: 2.586 MB / 0.6071 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00566/0.6007, allocations: 2.012 MB / 0.6091 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6007, allocations: 2.25 kB / 0.6091 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.6017, allocations: 451.3 kB / 0.6095 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.6026, allocations: 121.3 kB / 0.6097 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.6117, allocations: 6.062 MB / 0.6156 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.6122, allocations: 0.8785 MB / 0.6164 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.6126, allocations: 63.22 kB / 0.6165 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.6129, allocations: 178.2 kB / 0.6167 GB, free: 10.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.6129, allocations: 0 / 0.6167 GB, free: 10.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.6421, allocations: 12.99 MB / 0.6293 GB, free: 13.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.6424, allocations: 193 kB / 0.6295 GB, free: 12.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.932, allocations: 3.938 kB / 0.6295 GB, free: 12.91 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat