Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008989/0.000899, allocations: 90.84 kB / 286.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 45.14 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.947e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 63.24 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.554, allocations: 89.61 MB / 0.592 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.5543, allocations: 66.53 kB / 0.592 GB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03131/0.5856, allocations: 11.25 MB / 0.603 GB, free: 3.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5857, allocations: 0 / 0.603 GB, free: 3.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.5857, allocations: 16 kB / 0.603 GB, free: 3.137 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.001644/0.5873, allocations: 0.8851 MB / 0.6039 GB, free: 2.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5874, allocations: 8.031 kB / 0.6039 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.5877, allocations: 71.25 kB / 0.604 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.5882, allocations: 385.1 kB / 0.6043 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5883, allocations: 12 kB / 0.6043 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.5884, allocations: 35.91 kB / 0.6044 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004598/0.5888, allocations: 244.8 kB / 0.6046 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.5894, allocations: 427.8 kB / 0.605 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5895, allocations: 4 kB / 0.605 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.5895, allocations: 7.953 kB / 0.605 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5895, allocations: 12 kB / 0.605 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.5925, allocations: 1.824 MB / 0.6068 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.593, allocations: 432.3 kB / 0.6072 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.5933, allocations: 205.6 kB / 0.6074 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.5934, allocations: 20.47 kB / 0.6074 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5934, allocations: 49.69 kB / 0.6075 GB, free: 14.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.5934, allocations: 0 / 0.6075 GB, free: 14.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008217/0.5942, allocations: 338.1 kB / 0.6078 GB, free: 14.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/0.5944, allocations: 290.7 kB / 0.6081 GB, free: 14.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.5948, allocations: 275.5 kB / 0.6084 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.5949, allocations: 29.73 kB / 0.6084 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.5951, allocations: 261.7 kB / 0.6086 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5953, allocations: 146.7 kB / 0.6088 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.5953, allocations: 4 kB / 0.6088 GB, free: 13.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5955, allocations: 357.8 kB / 0.6091 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.5958, allocations: 110.6 kB / 0.6092 GB, free: 13.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.5962, allocations: 255 kB / 0.6095 GB, free: 13.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.5965, allocations: 133.9 kB / 0.6096 GB, free: 12.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5965, allocations: 0 / 0.6096 GB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003063/0.5996, allocations: 0.8198 MB / 0.6104 GB, free: 12.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006547/0.6003, allocations: 1.31 MB / 0.6117 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6003, allocations: 4 kB / 0.6117 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.6021, allocations: 367.4 kB / 0.612 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.6028, allocations: 105.8 kB / 0.6121 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/0.6116, allocations: 6.274 MB / 0.6183 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.6126, allocations: 103.7 kB / 0.6184 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.6127, allocations: 15.31 kB / 0.6184 GB, free: 4.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.6127, allocations: 4 kB / 0.6184 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/0.6144, allocations: 465.2 kB / 0.6188 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.6144, allocations: 3.953 kB / 0.6188 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.6151, allocations: 132 kB / 0.6189 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.6163, allocations: 187.1 kB / 0.6191 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.6212, allocations: 3.208 MB / 0.6223 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.622, allocations: 83.94 kB / 0.6223 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.6221, allocations: 19.75 kB / 0.6224 GB, free: 108 kB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin6.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin5.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin4.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin3.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin2.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin1.u:VARIABLE() "Connector of Real input signal" type: Real 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 {1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.6225, allocations: 140.1 kB / 0.6225 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001067/0.6236, allocations: 336.6 kB / 0.6228 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.6239, allocations: 47.44 kB / 0.6229 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.625, allocations: 394.8 kB / 0.6232 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.625, allocations: 7.953 kB / 0.6232 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.625, allocations: 4 kB / 0.6232 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.625, allocations: 0 / 0.6232 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.6263, allocations: 421.3 kB / 0.6236 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.6263, allocations: 8.031 kB / 0.6237 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6275, allocations: 149.5 kB / 0.6238 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.6276, allocations: 16.86 kB / 0.6238 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.6277, allocations: 11.3 kB / 0.6238 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.6289, allocations: 1.245 MB / 0.625 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6289, allocations: 4.031 kB / 0.625 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.6305, allocations: 1.116 MB / 0.6261 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.6307, allocations: 127.7 kB / 0.6263 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.6308, allocations: 0 / 0.6263 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.6319, allocations: 87.86 kB / 0.6263 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6321, allocations: 38.89 kB / 0.6264 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.6322, allocations: 19.23 kB / 0.6264 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.6325, allocations: 211.8 kB / 0.6266 GB, free: 12 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6325, allocations: 4 kB / 0.6266 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001954/0.6345, allocations: 187.2 kB / 0.6268 GB, free: 11.82 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.00256/0.6371, allocations: 2.082 MB / 0.6288 GB, free: 9.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005579/0.6427, allocations: 1.424 MB / 0.6302 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.6427, allocations: 0 / 0.6302 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.6433, allocations: 278.1 kB / 0.6305 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6448, allocations: 121.9 kB / 0.6306 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.6485, allocations: 0.9845 MB / 0.6315 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.6491, allocations: 0.8712 MB / 0.6324 GB, free: 6.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.6498, allocations: 85.23 kB / 0.6325 GB, free: 6.266 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.6501, allocations: 167.9 kB / 0.6326 GB, free: 6.223 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6502, allocations: 0 / 0.6326 GB, free: 6.223 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.6982, allocations: 12.5 MB / 0.6448 GB, free: 9.777 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.6984, allocations: 133.2 kB / 0.645 GB, free: 9.578 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.133, allocations: 0 / 0.645 GB, free: 9.578 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat