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.001029/0.001029, allocations: 99.55 kB / 16.99 MB, free: 5.941 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.0009744/0.0009746, allocations: 182.1 kB / 17.87 MB, free: 5.609 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 11.12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003012/0.1422, allocations: 2.497 MB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1438, allocations: 0.9476 MB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.144, allocations: 11.94 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.362e-05/0.1441, allocations: 35.58 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1444, allocations: 83.67 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.145, allocations: 298.4 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.1455, allocations: 356.5 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.1458, allocations: 192.9 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.146, allocations: 179.2 kB / 476.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1463, allocations: 206.8 kB / 476.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.1463, allocations: 20 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.1464, allocations: 20 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.1465, allocations: 87.59 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.1465, allocations: 97.39 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1469, allocations: 351.4 kB / 476.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1469, allocations: 0 / 476.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1469, allocations: 0 / 476.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1469, allocations: 0 / 476.9 MB, free: 8.281 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.001717/0.1486, allocations: 0.9158 MB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1487, allocations: 8.031 kB / 477.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.889e-05/0.1488, allocations: 86.52 kB / 477.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1489, allocations: 67.16 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1494, allocations: 368.9 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.1494, allocations: 37 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.1495, allocations: 55.86 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1508, allocations: 0.6644 MB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1508, allocations: 0 / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.1509, allocations: 16 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1509, allocations: 12 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.1525, allocations: 0.6244 MB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.1556, allocations: 1.824 MB / 481.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.1573, allocations: 0.6895 MB / 482.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.1574, allocations: 16.92 kB / 482.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.1574, allocations: 50.48 kB / 482.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1574, allocations: 0 / 482.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002584/0.16, allocations: 0.9006 MB / 483.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.1602, allocations: 290.7 kB / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1605, allocations: 345.6 kB / 483.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.1605, allocations: 37.7 kB / 483.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1607, allocations: 268.2 kB / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1609, allocations: 157.7 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1609, allocations: 8 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1611, allocations: 362.7 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.1619, allocations: 276.9 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.1627, allocations: 416.8 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/0.1636, allocations: 303.6 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1636, allocations: 0 / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003648/0.1672, allocations: 1.235 MB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00067/0.1679, allocations: 1.312 MB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1679, allocations: 4 kB / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.1698, allocations: 492.7 kB / 488.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.1703, allocations: 115.8 kB / 488.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.1847, allocations: 12.08 MB / 0.4891 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.1855, allocations: 127.5 kB / 0.4892 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.1855, allocations: 23.95 kB / 0.4892 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1856, allocations: 6.344 kB / 0.4892 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002036/0.1876, allocations: 0.755 MB / 0.49 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1876, allocations: 4 kB / 0.49 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.1882, allocations: 165.8 kB / 0.4901 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.189, allocations: 191.7 kB / 0.4903 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.1931, allocations: 3.567 MB / 0.4938 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.1937, allocations: 103.6 kB / 0.4939 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.1938, allocations: 20.62 kB / 0.4939 GB, free: 9.535 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.0003277/0.1941, allocations: 252.9 kB / 0.4942 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.1943, allocations: 47.44 kB / 0.4942 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.1962, allocations: 0.7198 MB / 0.4949 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1962, allocations: 4 kB / 0.4949 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1962, allocations: 4 kB / 0.4949 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1962, allocations: 0.5625 kB / 0.4949 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.1971, allocations: 0.4931 MB / 0.4954 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1971, allocations: 0 / 0.4954 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.1978, allocations: 143.8 kB / 0.4955 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.524e-05/0.1979, allocations: 28.8 kB / 0.4956 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1979, allocations: 12 kB / 0.4956 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009471/0.1989, allocations: 1.309 MB / 0.4969 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1989, allocations: 0 / 0.4969 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.2017, allocations: 1.605 MB / 0.4984 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.2018, allocations: 128.5 kB / 0.4985 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.2019, allocations: 8 kB / 0.4986 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.2025, allocations: 87.92 kB / 0.4986 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.2026, allocations: 47.88 kB / 0.4987 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2027, allocations: 8 kB / 0.4987 GB, free: 4.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.2029, allocations: 239.3 kB / 0.4989 GB, free: 4.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2029, allocations: 7.938 kB / 0.4989 GB, free: 4.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001348/0.2043, allocations: 231.2 kB / 0.4991 GB, free: 3.895 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.003164/0.2074, allocations: 2.554 MB / 0.5016 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2878/0.4952, allocations: 2.5 MB / 0.5041 GB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.4953, allocations: 1.062 kB / 0.5041 GB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.4964, allocations: 453 kB / 0.5045 GB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4977, allocations: 123.3 kB / 0.5046 GB, free: 45.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.5087, allocations: 6.029 MB / 0.5105 GB, free: 42.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.5094, allocations: 0.877 MB / 0.5114 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.5098, allocations: 60.86 kB / 0.5114 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.5101, allocations: 179.5 kB / 0.5116 GB, free: 41.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5101, allocations: 0 / 0.5116 GB, free: 41.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.5442, allocations: 13.62 MB / 0.5249 GB, free: 37.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.5445, allocations: 200 kB / 0.5251 GB, free: 37.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.858, allocations: 0 / 0.5251 GB, free: 37.2 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