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.001721/0.001721, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.737/1.737, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008651/0.0008649, allocations: 87.45 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4157/0.4157, allocations: 43.46 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.407e-05, allocations: 3.938 kB / 425.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 58.85 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5757, allocations: 88.19 MB / 0.559 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.576, allocations: 65.75 kB / 0.5591 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03232/0.6083, allocations: 11.39 MB / 0.5702 GB, free: 5.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6084, allocations: 0 / 0.5702 GB, free: 5.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.6084, allocations: 16 kB / 0.5702 GB, free: 5.301 MB / 394.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.001737/0.6102, allocations: 0.8842 MB / 0.5711 GB, free: 4.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6102, allocations: 12.03 kB / 0.5711 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.428e-05/0.6103, allocations: 78.53 kB / 0.5712 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.6104, allocations: 74.59 kB / 0.5712 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.611, allocations: 393.8 kB / 0.5716 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.611, allocations: 33 kB / 0.5716 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.6111, allocations: 52 kB / 0.5717 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.6119, allocations: 482.6 kB / 0.5722 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6119, allocations: 7.938 kB / 0.5722 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.612, allocations: 20 kB / 0.5722 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.612, allocations: 15.28 kB / 0.5722 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.6125, allocations: 279.8 kB / 0.5725 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.6158, allocations: 1.926 MB / 0.5743 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.6165, allocations: 458.2 kB / 0.5748 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.6168, allocations: 214 kB / 0.575 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.6169, allocations: 16.91 kB / 0.575 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.617, allocations: 46.5 kB / 0.575 GB, free: 56 kB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.617, allocations: 0 / 0.575 GB, free: 56 kB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008292/0.6178, allocations: 356.8 kB / 0.5754 GB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.618, allocations: 300.9 kB / 0.5757 GB, free: 15.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.6183, allocations: 311.1 kB / 0.576 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.6184, allocations: 41.73 kB / 0.576 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6186, allocations: 260.2 kB / 0.5763 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.6187, allocations: 161.7 kB / 0.5764 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.6188, allocations: 8 kB / 0.5764 GB, free: 14.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6189, allocations: 358.8 kB / 0.5768 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.6192, allocations: 117.1 kB / 0.5769 GB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.6195, allocations: 257 kB / 0.5771 GB, free: 13.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.6198, allocations: 149.9 kB / 0.5773 GB, free: 13.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6198, allocations: 0 / 0.5773 GB, free: 13.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002453/0.6223, allocations: 0.8763 MB / 0.5781 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/0.6229, allocations: 1.308 MB / 0.5794 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6229, allocations: 4 kB / 0.5794 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.6244, allocations: 388.9 kB / 0.5798 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.6249, allocations: 107.8 kB / 0.5799 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.6318, allocations: 6.446 MB / 0.5862 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.6325, allocations: 123.7 kB / 0.5863 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.6325, allocations: 20 kB / 0.5863 GB, free: 3.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6326, allocations: 4 kB / 0.5863 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.6338, allocations: 0.5011 MB / 0.5868 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6338, allocations: 0 / 0.5868 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.6343, allocations: 133.9 kB / 0.5869 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.6351, allocations: 195.7 kB / 0.5871 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.6389, allocations: 3.364 MB / 0.5904 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/0.6395, allocations: 107.5 kB / 0.5905 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.6396, allocations: 20 kB / 0.5905 GB, free: 15.24 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.0002667/0.6398, allocations: 136.9 kB / 0.5906 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.6401, allocations: 47.44 kB / 0.5907 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.641, allocations: 429.8 kB / 0.5911 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.641, allocations: 8 kB / 0.5911 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6411, allocations: 4 kB / 0.5911 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6411, allocations: 7.938 kB / 0.5911 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/0.6421, allocations: 497 kB / 0.5916 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6421, allocations: 0 / 0.5916 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.6428, allocations: 147.9 kB / 0.5917 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.6429, allocations: 20.84 kB / 0.5918 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.6429, allocations: 12 kB / 0.5918 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009331/0.6439, allocations: 1.309 MB / 0.593 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6439, allocations: 192 / 0.593 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.6451, allocations: 1.152 MB / 0.5942 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6452, allocations: 132.4 kB / 0.5943 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.6453, allocations: 12 kB / 0.5943 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.646, allocations: 87.88 kB / 0.5944 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6461, allocations: 43.94 kB / 0.5944 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.6462, allocations: 16.11 kB / 0.5944 GB, free: 10.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.6465, allocations: 245.2 kB / 0.5947 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6465, allocations: 0 / 0.5947 GB, free: 10.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001133/0.6476, allocations: 211.8 kB / 0.5949 GB, free: 10.48 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.001837/0.6494, allocations: 2.143 MB / 0.597 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004271/0.6537, allocations: 1.606 MB / 0.5985 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6538, allocations: 0 / 0.5985 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.6542, allocations: 290.5 kB / 0.5988 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/0.6551, allocations: 123.8 kB / 0.5989 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.6575, allocations: 1.028 MB / 0.5999 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.6581, allocations: 0.8792 MB / 0.6008 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.6585, allocations: 81.27 kB / 0.6009 GB, free: 4.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.6587, allocations: 175.4 kB / 0.601 GB, free: 3.965 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6587, allocations: 0 / 0.601 GB, free: 3.965 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.6914, allocations: 13.76 MB / 0.6145 GB, free: 6.281 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6916, allocations: 172.1 kB / 0.6147 GB, free: 6.055 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.457, allocations: 0 / 0.6147 GB, free: 6.055 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