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.001275/0.001275, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.001114/0.001114, allocations: 95.47 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.673e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5446, allocations: 88.54 MB / 0.5812 GB, free: 7.828 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5449, allocations: 63.97 kB / 0.5813 GB, free: 7.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03184/0.5767, allocations: 11.35 MB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5768, allocations: 4 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.5768, allocations: 16 kB / 0.5924 GB, free: 12.35 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.001709/0.5785, allocations: 0.8831 MB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5786, allocations: 11.98 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.5787, allocations: 71.25 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.5793, allocations: 384.5 kB / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.5793, allocations: 15.95 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.5794, allocations: 35.91 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004869/0.5799, allocations: 246.6 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.5805, allocations: 426.1 kB / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5806, allocations: 0 / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.5806, allocations: 11.78 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.5806, allocations: 8 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.5837, allocations: 1.836 MB / 0.5962 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.5843, allocations: 427 kB / 0.5966 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.5846, allocations: 206.3 kB / 0.5968 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.5846, allocations: 12 kB / 0.5968 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.5847, allocations: 46.55 kB / 0.5969 GB, free: 7.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.5847, allocations: 3.938 kB / 0.5969 GB, free: 7.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007101/0.5854, allocations: 329.3 kB / 0.5972 GB, free: 7.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.5855, allocations: 306.6 kB / 0.5975 GB, free: 6.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.5858, allocations: 269.3 kB / 0.5977 GB, free: 6.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.5859, allocations: 25.7 kB / 0.5978 GB, free: 6.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.586, allocations: 264.4 kB / 0.598 GB, free: 6.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5862, allocations: 149.8 kB / 0.5982 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.5862, allocations: 0 / 0.5982 GB, free: 6.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5863, allocations: 358.8 kB / 0.5985 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.5865, allocations: 113.1 kB / 0.5986 GB, free: 5.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.5868, allocations: 251.8 kB / 0.5988 GB, free: 5.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.587, allocations: 131.8 kB / 0.599 GB, free: 5.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5871, allocations: 8 kB / 0.599 GB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002174/0.5892, allocations: 0.8096 MB / 0.5998 GB, free: 4.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.5898, allocations: 1.32 MB / 0.6011 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5898, allocations: 4 kB / 0.6011 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5912, allocations: 368.8 kB / 0.6014 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.5917, allocations: 107.8 kB / 0.6015 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.5977, allocations: 6.264 MB / 0.6076 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.5984, allocations: 107.7 kB / 0.6077 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.5984, allocations: 24 kB / 0.6078 GB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5984, allocations: 5.406 kB / 0.6078 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/0.5995, allocations: 453.3 kB / 0.6082 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5995, allocations: 4 kB / 0.6082 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.5999, allocations: 125.8 kB / 0.6083 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.6007, allocations: 192 kB / 0.6085 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.604, allocations: 3.21 MB / 0.6116 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.6046, allocations: 99.52 kB / 0.6117 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.6047, allocations: 20 kB / 0.6117 GB, free: 7.32 MB / 426.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.0002541/0.6049, allocations: 118.3 kB / 0.6119 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006984/0.6056, allocations: 340.9 kB / 0.6122 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.6058, allocations: 47.44 kB / 0.6122 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.6065, allocations: 394.1 kB / 0.6126 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6065, allocations: 8 kB / 0.6126 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6066, allocations: 0 / 0.6126 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6066, allocations: 4 kB / 0.6126 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000749/0.6073, allocations: 421.7 kB / 0.613 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6073, allocations: 0 / 0.613 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.608, allocations: 151.8 kB / 0.6132 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.46e-05/0.6081, allocations: 12.86 kB / 0.6132 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.6082, allocations: 15.98 kB / 0.6132 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008376/0.609, allocations: 1.25 MB / 0.6144 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.609, allocations: 160 / 0.6144 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6101, allocations: 1.129 MB / 0.6155 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6102, allocations: 120.6 kB / 0.6156 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.6103, allocations: 7.938 kB / 0.6156 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.6109, allocations: 79.92 kB / 0.6157 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6111, allocations: 51.83 kB / 0.6158 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.6111, allocations: 20.17 kB / 0.6158 GB, free: 2.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.6113, allocations: 207 kB / 0.616 GB, free: 2.727 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6113, allocations: 3.938 kB / 0.616 GB, free: 2.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001119/0.6124, allocations: 187.3 kB / 0.6162 GB, free: 2.539 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.001587/0.614, allocations: 2.086 MB / 0.6182 GB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.6176, allocations: 1.423 MB / 0.6196 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6176, allocations: 4.062 kB / 0.6196 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.618, allocations: 273.6 kB / 0.6199 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.6189, allocations: 106.7 kB / 0.62 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.6212, allocations: 0.9748 MB / 0.6209 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.6217, allocations: 0.8713 MB / 0.6218 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003977/0.6221, allocations: 91.5 kB / 0.6218 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.6224, allocations: 171.4 kB / 0.622 GB, free: 12.35 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6224, allocations: 0 / 0.622 GB, free: 12.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.6636, allocations: 12.52 MB / 0.6342 GB, free: 15.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.6638, allocations: 129.6 kB / 0.6344 GB, free: 15.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.049, allocations: 0 / 0.6344 GB, free: 15.69 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