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.001664/0.001663, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.127/2.127, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001222/0.001221, allocations: 89.78 kB / 270.9 MB, free: 8.379 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.5319/0.5319, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006527, allocations: 8 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1403, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.488/0.6283, allocations: 88.29 MB / 0.565 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.6286, allocations: 67.97 kB / 0.5651 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05573/0.6844, allocations: 11.4 MB / 0.5762 GB, free: 2.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6845, allocations: 3.75 kB / 0.5762 GB, free: 2.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.968e-05/0.6845, allocations: 19.94 kB / 0.5763 GB, free: 2.762 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.00304/0.6876, allocations: 0.935 MB / 0.5772 GB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.933e-05/0.6877, allocations: 12.03 kB / 0.5772 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6879, allocations: 82.53 kB / 0.5773 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.688, allocations: 74.59 kB / 0.5773 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008373/0.6889, allocations: 401.7 kB / 0.5777 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.689, allocations: 33 kB / 0.5777 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6891, allocations: 52 kB / 0.5778 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.6915, allocations: 0.6538 MB / 0.5784 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6916, allocations: 4 kB / 0.5784 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6917, allocations: 16 kB / 0.5785 GB, free: 380 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.6917, allocations: 12 kB / 0.5785 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.6949, allocations: 0.6322 MB / 0.5791 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/0.7007, allocations: 1.937 MB / 0.581 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.7039, allocations: 0.6863 MB / 0.5816 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.7041, allocations: 12 kB / 0.5817 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.7042, allocations: 42.5 kB / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.887e-06/0.7042, allocations: 0 / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.005254/0.7094, allocations: 0.9162 MB / 0.5826 GB, free: 11.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/0.7097, allocations: 298.6 kB / 0.5829 GB, free: 11.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.7103, allocations: 313.1 kB / 0.5832 GB, free: 11.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.7104, allocations: 37.7 kB / 0.5832 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.7107, allocations: 306.9 kB / 0.5835 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7109, allocations: 153.7 kB / 0.5836 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.711, allocations: 12 kB / 0.5837 GB, free: 10.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7112, allocations: 330.8 kB / 0.584 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.7129, allocations: 272.9 kB / 0.5842 GB, free: 10.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.7146, allocations: 416.7 kB / 0.5846 GB, free: 9.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.7162, allocations: 296.5 kB / 0.5849 GB, free: 9.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.7163, allocations: 0 / 0.5849 GB, free: 9.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.006824/0.7231, allocations: 1.196 MB / 0.5861 GB, free: 8.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007245/0.7239, allocations: 1.308 MB / 0.5874 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.7239, allocations: 4 kB / 0.5874 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/0.7273, allocations: 492.7 kB / 0.5878 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/0.7284, allocations: 107.8 kB / 0.5879 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.741, allocations: 6.75 MB / 0.5945 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.7422, allocations: 119.7 kB / 0.5946 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.7422, allocations: 27.98 kB / 0.5947 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7423, allocations: 6.812 kB / 0.5947 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003999/0.7463, allocations: 0.7547 MB / 0.5954 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.7464, allocations: 0 / 0.5954 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.7475, allocations: 157.8 kB / 0.5956 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.749, allocations: 195.7 kB / 0.5957 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.7568, allocations: 3.514 MB / 0.5992 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.7577, allocations: 95.69 kB / 0.5993 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.7578, allocations: 20 kB / 0.5993 GB, free: 9.91 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 () * Number of clocked 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.0004767/0.7583, allocations: 245 kB / 0.5995 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.7586, allocations: 63.27 kB / 0.5996 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.7623, allocations: 0.72 MB / 0.6003 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.7623, allocations: 7.938 kB / 0.6003 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7624, allocations: 4 kB / 0.6003 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.7624, allocations: 3.953 kB / 0.6003 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.7639, allocations: 0.4896 MB / 0.6008 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.7639, allocations: 4 kB / 0.6008 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.7654, allocations: 151.8 kB / 0.6009 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.7656, allocations: 20.84 kB / 0.6009 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.7657, allocations: 19.98 kB / 0.601 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.7671, allocations: 1.293 MB / 0.6022 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7671, allocations: 8.094 kB / 0.6022 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.7726, allocations: 1.593 MB / 0.6038 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.7729, allocations: 136.3 kB / 0.6039 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.773, allocations: 12 kB / 0.6039 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7742, allocations: 95.86 kB / 0.604 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7744, allocations: 39.89 kB / 0.6041 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.7745, allocations: 16.03 kB / 0.6041 GB, free: 4.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.7749, allocations: 243.2 kB / 0.6043 GB, free: 4.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7749, allocations: 4 kB / 0.6043 GB, free: 4.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001617/0.7766, allocations: 211.4 kB / 0.6045 GB, free: 4.27 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 () * Number of clocked 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.006136/0.7827, allocations: 2.577 MB / 0.607 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01042/0.7932, allocations: 1.975 MB / 0.609 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.7933, allocations: 4 kB / 0.609 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.7952, allocations: 447.1 kB / 0.6094 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.7967, allocations: 126.2 kB / 0.6095 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.8131, allocations: 6.095 MB / 0.6155 GB, free: 8.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.8139, allocations: 0.8784 MB / 0.6163 GB, free: 7.875 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.8144, allocations: 179.3 kB / 0.6165 GB, free: 7.699 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8144, allocations: 0 / 0.6165 GB, free: 7.699 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/3.817, allocations: 14.8 MB / 0.631 GB, free: 8.906 MB / 458.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