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.002108/0.002108, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 92.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.304/0.304, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.113e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4103, allocations: 58.86 MB / 477.2 MB, free: 5.137 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.5777, allocations: 87.54 MB / 0.5515 GB, free: 11.66 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5781, allocations: 63.97 kB / 0.5515 GB, free: 11.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05552/0.6336, allocations: 11.3 MB / 0.5626 GB, free: 236 kB / 395.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6337, allocations: 3.938 kB / 0.5626 GB, free: 232 kB / 395.1 MB Notification: Performance of Transformations before backend: time 5.816e-05/0.6338, allocations: 12 kB / 0.5626 GB, free: 220 kB / 395.1 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.00307/0.6368, allocations: 0.8851 MB / 0.5635 GB, free: 15.29 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.6369, allocations: 11.97 kB / 0.5635 GB, free: 15.27 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.6372, allocations: 75.25 kB / 0.5635 GB, free: 15.2 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.6382, allocations: 396.3 kB / 0.5639 GB, free: 14.77 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.6382, allocations: 12 kB / 0.5639 GB, free: 14.76 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6384, allocations: 31.98 kB / 0.564 GB, free: 14.73 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008891/0.6393, allocations: 247.2 kB / 0.5642 GB, free: 14.49 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6404, allocations: 430 kB / 0.5646 GB, free: 14.02 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6404, allocations: 4 kB / 0.5646 GB, free: 14.02 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.6405, allocations: 3.938 kB / 0.5646 GB, free: 14.02 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.6405, allocations: 15.95 kB / 0.5646 GB, free: 14 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.646, allocations: 1.848 MB / 0.5664 GB, free: 12.08 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.6471, allocations: 418.4 kB / 0.5668 GB, free: 11.61 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.6476, allocations: 202 kB / 0.567 GB, free: 11.39 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.523e-05/0.6477, allocations: 8.922 kB / 0.567 GB, free: 11.38 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.6477, allocations: 58.44 kB / 0.5671 GB, free: 11.32 MB / 411.1 MB Notification: Performance of pre-optimization done (n=43): time 4.759e-06/0.6477, allocations: 0 / 0.5671 GB, free: 11.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=43): time 0.001222/0.649, allocations: 337 kB / 0.5674 GB, free: 10.98 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.6492, allocations: 286.7 kB / 0.5677 GB, free: 10.63 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.6496, allocations: 281.3 kB / 0.568 GB, free: 10.35 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 9.083e-05/0.6497, allocations: 25.7 kB / 0.568 GB, free: 10.32 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.65, allocations: 314.9 kB / 0.5683 GB, free: 10.01 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.6502, allocations: 153.6 kB / 0.5684 GB, free: 9.859 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.6503, allocations: 0 / 0.5684 GB, free: 9.859 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6504, allocations: 338.8 kB / 0.5687 GB, free: 9.52 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.6508, allocations: 109.1 kB / 0.5689 GB, free: 9.41 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.6513, allocations: 243.9 kB / 0.5691 GB, free: 9.117 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.6518, allocations: 139.8 kB / 0.5692 GB, free: 8.98 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6518, allocations: 0 / 0.5692 GB, free: 8.98 MB / 411.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00406/0.6558, allocations: 0.7866 MB / 0.57 GB, free: 8.168 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006502/0.6565, allocations: 1.304 MB / 0.5713 GB, free: 6.762 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.6566, allocations: 11.95 kB / 0.5713 GB, free: 6.75 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.659, allocations: 376.8 kB / 0.5716 GB, free: 6.363 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.66, allocations: 111.8 kB / 0.5717 GB, free: 6.254 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009048/0.6691, allocations: 6.252 MB / 0.5778 GB, free: 15.65 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6703, allocations: 111.7 kB / 0.5779 GB, free: 15.54 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.6704, allocations: 24 kB / 0.578 GB, free: 15.52 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6704, allocations: 11.06 kB / 0.578 GB, free: 15.51 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/0.6723, allocations: 457.4 kB / 0.5784 GB, free: 15.05 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6723, allocations: 4 kB / 0.5784 GB, free: 15.05 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007599/0.6731, allocations: 121.9 kB / 0.5785 GB, free: 14.93 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.6746, allocations: 199.7 kB / 0.5787 GB, free: 14.73 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005446/0.6801, allocations: 3.186 MB / 0.5818 GB, free: 11.31 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/0.681, allocations: 91.53 kB / 0.5819 GB, free: 11.22 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.6811, allocations: 20 kB / 0.5819 GB, free: 11.2 MB / 427.1 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.0003511/0.6814, allocations: 133.8 kB / 0.5821 GB, free: 11.06 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001115/0.6826, allocations: 328.8 kB / 0.5824 GB, free: 10.73 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.6828, allocations: 47.44 kB / 0.5824 GB, free: 10.69 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.6841, allocations: 397.9 kB / 0.5828 GB, free: 10.29 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.6842, allocations: 4 kB / 0.5828 GB, free: 10.28 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6842, allocations: 4 kB / 0.5828 GB, free: 10.28 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6842, allocations: 7.938 kB / 0.5828 GB, free: 10.27 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.6855, allocations: 429.6 kB / 0.5832 GB, free: 9.812 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.6855, allocations: 4.188 kB / 0.5832 GB, free: 9.809 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.687, allocations: 151.8 kB / 0.5834 GB, free: 9.66 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.6871, allocations: 20.84 kB / 0.5834 GB, free: 9.637 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.6872, allocations: 11.98 kB / 0.5834 GB, free: 9.625 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.6885, allocations: 1.242 MB / 0.5846 GB, free: 8.262 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.6885, allocations: 0 / 0.5846 GB, free: 8.262 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.6905, allocations: 1.125 MB / 0.5857 GB, free: 7.078 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6907, allocations: 128.4 kB / 0.5859 GB, free: 6.934 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.6908, allocations: 0 / 0.5859 GB, free: 6.934 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6921, allocations: 83.92 kB / 0.5859 GB, free: 6.852 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.6923, allocations: 51.89 kB / 0.586 GB, free: 6.801 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.6923, allocations: 8 kB / 0.586 GB, free: 6.793 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.6927, allocations: 219 kB / 0.5862 GB, free: 6.582 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6927, allocations: 0 / 0.5862 GB, free: 6.582 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001695/0.6944, allocations: 179.5 kB / 0.5864 GB, free: 6.406 MB / 427.1 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.002584/0.697, allocations: 2.102 MB / 0.5884 GB, free: 4.246 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.7034, allocations: 1.388 MB / 0.5898 GB, free: 2.82 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.7035, allocations: 0 / 0.5898 GB, free: 2.82 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.7042, allocations: 286.9 kB / 0.59 GB, free: 2.531 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.7057, allocations: 122.3 kB / 0.5902 GB, free: 2.418 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.7101, allocations: 1.001 MB / 0.5911 GB, free: 1.352 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.7108, allocations: 0.8745 MB / 0.592 GB, free: 460 kB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.7114, allocations: 183.4 kB / 0.5922 GB, free: 276 kB / 427.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7114, allocations: 0 / 0.5922 GB, free: 276 kB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.022/3.733, allocations: 14.68 MB / 0.6065 GB, free: 1.582 MB / 443.1 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