Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001574/0.001574, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001111/0.00111, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2907/0.2907, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.988e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.6207, allocations: 88.2 MB / 0.559 GB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.621, allocations: 60 kB / 0.5591 GB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05647/0.6775, allocations: 11.37 MB / 0.5702 GB, free: 5.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.909e-06/0.6776, allocations: 4 kB / 0.5702 GB, free: 5.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.653e-05/0.6777, allocations: 23.94 kB / 0.5702 GB, free: 5.59 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.003131/0.6808, allocations: 0.8744 MB / 0.5711 GB, free: 4.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.6809, allocations: 12.03 kB / 0.5711 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.6811, allocations: 80.28 kB / 0.5711 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.6814, allocations: 71.25 kB / 0.5712 GB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.6823, allocations: 404.1 kB / 0.5716 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.6824, allocations: 35.81 kB / 0.5716 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.6825, allocations: 46.5 kB / 0.5717 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6838, allocations: 492.1 kB / 0.5721 GB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6839, allocations: 0 / 0.5721 GB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.6839, allocations: 21.42 kB / 0.5722 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.684, allocations: 12 kB / 0.5722 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.6849, allocations: 282 kB / 0.5724 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.6906, allocations: 1.928 MB / 0.5743 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6918, allocations: 450.4 kB / 0.5748 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.6924, allocations: 224.5 kB / 0.575 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-05/0.6925, allocations: 11.98 kB / 0.575 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.6925, allocations: 40.38 kB / 0.575 GB, free: 1.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 8.105e-06/0.6926, allocations: 4 kB / 0.575 GB, free: 1.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001294/0.6939, allocations: 366.4 kB / 0.5754 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.6941, allocations: 294.2 kB / 0.5757 GB, free: 480 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.6947, allocations: 312.2 kB / 0.576 GB, free: 216 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.6948, allocations: 36.02 kB / 0.576 GB, free: 180 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.6951, allocations: 300.7 kB / 0.5763 GB, free: 15.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.6953, allocations: 157.8 kB / 0.5764 GB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.6953, allocations: 17.94 kB / 0.5764 GB, free: 15.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6955, allocations: 329.4 kB / 0.5768 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.6959, allocations: 119.8 kB / 0.5769 GB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.6964, allocations: 257.7 kB / 0.5771 GB, free: 15.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.6969, allocations: 155 kB / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6969, allocations: 0 / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004094/0.701, allocations: 0.8324 MB / 0.5781 GB, free: 14.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007189/0.7018, allocations: 1.319 MB / 0.5794 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7018, allocations: 4 kB / 0.5794 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.7044, allocations: 382.2 kB / 0.5797 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7055, allocations: 115.5 kB / 0.5798 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.7156, allocations: 6.429 MB / 0.5861 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7168, allocations: 120.5 kB / 0.5862 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.7169, allocations: 23.81 kB / 0.5863 GB, free: 5.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7169, allocations: 4 kB / 0.5863 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/0.719, allocations: 0.5046 MB / 0.5868 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.719, allocations: 7.984 kB / 0.5868 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/0.7198, allocations: 133 kB / 0.5869 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.7214, allocations: 191.4 kB / 0.5871 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.7274, allocations: 3.313 MB / 0.5903 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.7283, allocations: 102.5 kB / 0.5904 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.7284, allocations: 19.69 kB / 0.5904 GB, free: 1.824 MB / 394.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.0002664/0.7287, allocations: 130.1 kB / 0.5906 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.729, allocations: 54.78 kB / 0.5906 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.7304, allocations: 426.7 kB / 0.591 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.7305, allocations: 8 kB / 0.591 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7305, allocations: 4 kB / 0.591 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.7305, allocations: 7.938 kB / 0.591 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.7319, allocations: 499.3 kB / 0.5915 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.732, allocations: 4 kB / 0.5915 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.7334, allocations: 151.4 kB / 0.5917 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.7337, allocations: 24.78 kB / 0.5917 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/0.7338, allocations: 7.75 kB / 0.5917 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.7352, allocations: 1.292 MB / 0.5929 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.7352, allocations: 4.5 kB / 0.593 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.7373, allocations: 1.157 MB / 0.5941 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7375, allocations: 136.4 kB / 0.5942 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7376, allocations: 15.89 kB / 0.5942 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7389, allocations: 87.61 kB / 0.5943 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.7391, allocations: 50.44 kB / 0.5944 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.7391, allocations: 11.98 kB / 0.5944 GB, free: 13.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.7396, allocations: 236.9 kB / 0.5946 GB, free: 13.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7396, allocations: 0 / 0.5946 GB, free: 13.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001569/0.7412, allocations: 221.1 kB / 0.5948 GB, free: 13.59 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 () * 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.002697/0.7439, allocations: 2.132 MB / 0.5969 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007002/0.7509, allocations: 1.55 MB / 0.5984 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.751, allocations: 4 kB / 0.5984 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007379/0.7517, allocations: 288.9 kB / 0.5987 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.7531, allocations: 117.3 kB / 0.5988 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.7572, allocations: 1.061 MB / 0.5998 GB, free: 8.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.7579, allocations: 0.8745 MB / 0.6007 GB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.7583, allocations: 181 kB / 0.6009 GB, free: 7.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7583, allocations: 0 / 0.6009 GB, free: 7.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.985/3.744, allocations: 14.83 MB / 0.6153 GB, free: 9.098 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat