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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 98.42 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008833/0.0008831, allocations: 175.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.22 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 13.25 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003155/0.1318, allocations: 2.501 MB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1335, allocations: 0.9592 MB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1337, allocations: 19.88 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.014e-05/0.1338, allocations: 39.58 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.134, allocations: 59.38 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.1347, allocations: 295.2 kB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.1352, allocations: 0.523 MB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.1355, allocations: 188.8 kB / 476.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.1357, allocations: 175.2 kB / 476.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.136, allocations: 210.8 kB / 476.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.136, allocations: 20 kB / 476.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.1361, allocations: 20 kB / 476.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1362, allocations: 87.59 kB / 476.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.1363, allocations: 93.45 kB / 476.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1366, allocations: 351.4 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1367, allocations: 0 / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1367, allocations: 0 / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1367, allocations: 0 / 477.2 MB, free: 8.086 MB / 350.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.00162/0.1383, allocations: 0.9158 MB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1384, allocations: 12.03 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.1385, allocations: 82.52 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1386, allocations: 71.16 kB / 478.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.139, allocations: 368.9 kB / 478.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.1391, allocations: 37 kB / 478.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.1391, allocations: 55.86 kB / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.1405, allocations: 0.6528 MB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1405, allocations: 7.938 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.1405, allocations: 20 kB / 479.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1405, allocations: 12 kB / 479.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.1421, allocations: 0.6265 MB / 480 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.1448, allocations: 1.817 MB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.1465, allocations: 0.6933 MB / 482.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.1473, allocations: 373.7 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.1474, allocations: 15.97 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1474, allocations: 46.5 kB / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.1474, allocations: 0 / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002609/0.1501, allocations: 0.9039 MB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.1502, allocations: 298.7 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.1506, allocations: 341.6 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1507, allocations: 33.7 kB / 484.5 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1509, allocations: 272.2 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.151, allocations: 157.6 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.151, allocations: 12 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1512, allocations: 358.8 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.152, allocations: 280.8 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.1529, allocations: 412.8 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.1537, allocations: 299.7 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1537, allocations: 0 / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003459/0.1572, allocations: 1.247 MB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.1573, allocations: 193.6 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1573, allocations: 3.938 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.1591, allocations: 488.7 kB / 488.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.1596, allocations: 123.8 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.1729, allocations: 11.93 MB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.1736, allocations: 123.5 kB / 0.4886 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1737, allocations: 23.98 kB / 0.4886 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1737, allocations: 4 kB / 0.4886 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/0.1757, allocations: 0.7551 MB / 0.4894 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1757, allocations: 4.703 kB / 0.4894 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.1763, allocations: 169.6 kB / 0.4895 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.177, allocations: 195.8 kB / 0.4897 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.181, allocations: 3.52 MB / 0.4932 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.1815, allocations: 107.8 kB / 0.4933 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.1815, allocations: 20 kB / 0.4933 GB, free: 10.31 MB / 382.1 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.0003777/0.1819, allocations: 248.9 kB / 0.4935 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.1821, allocations: 47.44 kB / 0.4936 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.184, allocations: 0.7119 MB / 0.4943 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.184, allocations: 11.94 kB / 0.4943 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.184, allocations: 4 kB / 0.4943 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.184, allocations: 3.953 kB / 0.4943 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.185, allocations: 0.4892 MB / 0.4948 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1851, allocations: 0 / 0.4948 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.1857, allocations: 151.8 kB / 0.4949 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.1858, allocations: 20.78 kB / 0.4949 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.1859, allocations: 12 kB / 0.4949 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.1869, allocations: 1.297 MB / 0.4962 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1869, allocations: 4.031 kB / 0.4962 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.1895, allocations: 1.536 MB / 0.4977 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.1896, allocations: 120.5 kB / 0.4978 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.1896, allocations: 12 kB / 0.4978 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.1903, allocations: 95.86 kB / 0.4979 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1904, allocations: 47.88 kB / 0.498 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1904, allocations: 12 kB / 0.498 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.1907, allocations: 235.2 kB / 0.4982 GB, free: 5.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 0 / 0.4982 GB, free: 5.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001455/0.1922, allocations: 227.3 kB / 0.4984 GB, free: 4.793 MB / 382.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 () * 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.002877/0.1951, allocations: 2.081 MB / 0.5005 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.2008, allocations: 2.507 MB / 0.5029 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.2008, allocations: 8.172 kB / 0.5029 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2666/0.4674, allocations: 437.2 kB / 0.5033 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4689, allocations: 130.7 kB / 0.5035 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008869/0.4778, allocations: 3.942 MB / 0.5073 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.4783, allocations: 0.8644 MB / 0.5081 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.4787, allocations: 61.77 kB / 0.5082 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.479, allocations: 179.7 kB / 0.5084 GB, free: 43.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.479, allocations: 0 / 0.5084 GB, free: 43.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.5155, allocations: 13.66 MB / 0.5217 GB, free: 40.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.5157, allocations: 211.7 kB / 0.5219 GB, free: 39.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/2.923, allocations: 0 / 0.5219 GB, free: 39.8 MB / 382.1 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