Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007864, allocations: 97.94 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008432/0.0008432, allocations: 193.5 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.0002721, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 63.46 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002998/0.134, allocations: 2.521 MB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1359, allocations: 0.9825 MB / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1361, allocations: 11.94 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.432e-05/0.1362, allocations: 35.58 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1364, allocations: 67.38 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.1372, allocations: 299.1 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.1378, allocations: 0.5037 MB / 486 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1381, allocations: 184.9 kB / 486.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.1383, allocations: 183.2 kB / 486.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1386, allocations: 206.8 kB / 486.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1386, allocations: 16 kB / 486.6 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.1387, allocations: 28 kB / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1388, allocations: 79.66 kB / 486.7 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.1389, allocations: 97.39 kB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1393, allocations: 355.4 kB / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1393, allocations: 0 / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1393, allocations: 3.938 kB / 487.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.1394, allocations: 0 / 487.2 MB, free: 15.72 MB / 366.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.001656/0.141, allocations: 0.9119 MB / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1411, allocations: 12.03 kB / 488.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.102e-05/0.1412, allocations: 82.52 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.1414, allocations: 79.14 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1419, allocations: 372.9 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.1419, allocations: 37 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.142, allocations: 51.91 kB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1433, allocations: 0.6606 MB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1433, allocations: 3.938 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.1434, allocations: 20 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1434, allocations: 12 kB / 489.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.1449, allocations: 0.6192 MB / 490 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.1477, allocations: 1.832 MB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.1493, allocations: 0.6817 MB / 492.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/0.1501, allocations: 377.8 kB / 492.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.1502, allocations: 15.92 kB / 492.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1502, allocations: 46.55 kB / 493 MB, free: 9.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1502, allocations: 0 / 493 MB, free: 9.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002527/0.1528, allocations: 0.9044 MB / 493.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.1529, allocations: 298.7 kB / 494.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1533, allocations: 341.6 kB / 494.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1533, allocations: 37.7 kB / 494.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1535, allocations: 264.4 kB / 494.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1536, allocations: 157.7 kB / 494.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1537, allocations: 12 kB / 494.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.1539, allocations: 358.8 kB / 495.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.1546, allocations: 276.9 kB / 495.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.1554, allocations: 412.8 kB / 496 MB, free: 6.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.1562, allocations: 299.7 kB / 496.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1562, allocations: 4 kB / 496.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003469/0.1597, allocations: 1.254 MB / 497.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1598, allocations: 185.2 kB / 497.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1598, allocations: 4 kB / 497.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.1616, allocations: 488.8 kB / 498.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.162, allocations: 119.8 kB / 498.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.176, allocations: 11.94 MB / 0.4983 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.1767, allocations: 123.6 kB / 0.4984 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1767, allocations: 23.94 kB / 0.4984 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1768, allocations: 9.984 kB / 0.4984 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/0.1787, allocations: 0.7591 MB / 0.4992 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1787, allocations: 4 kB / 0.4992 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.1793, allocations: 169.6 kB / 0.4993 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.18, allocations: 191.8 kB / 0.4995 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/0.1842, allocations: 3.516 MB / 0.503 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.1847, allocations: 103.6 kB / 0.5031 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1848, allocations: 20 kB / 0.5031 GB, free: 1.945 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.0003337/0.1851, allocations: 248.9 kB / 0.5033 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.1853, allocations: 51.48 kB / 0.5034 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.1871, allocations: 0.7162 MB / 0.5041 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1871, allocations: 4.25 kB / 0.5041 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1871, allocations: 4 kB / 0.5041 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1871, allocations: 4 kB / 0.5041 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.188, allocations: 0.4897 MB / 0.5045 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.188, allocations: 0 / 0.5045 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.1887, allocations: 151.8 kB / 0.5047 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.232e-05/0.1888, allocations: 20.84 kB / 0.5047 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.1888, allocations: 15.95 kB / 0.5047 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2641/0.4529, allocations: 1.287 MB / 0.506 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.453, allocations: 12.03 kB / 0.506 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.4562, allocations: 1.527 MB / 0.5075 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.4564, allocations: 125.3 kB / 0.5076 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.4564, allocations: 15.48 kB / 0.5076 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.4571, allocations: 89.31 kB / 0.5077 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4573, allocations: 43.31 kB / 0.5077 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.4573, allocations: 16.25 kB / 0.5078 GB, free: 36.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.4577, allocations: 238.1 kB / 0.508 GB, free: 36.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.4577, allocations: 0 / 0.508 GB, free: 36.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4592, allocations: 218.7 kB / 0.5082 GB, free: 36.69 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.002994/0.4622, allocations: 2.083 MB / 0.5102 GB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005911/0.4681, allocations: 2.503 MB / 0.5127 GB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.4682, allocations: 3.844 kB / 0.5127 GB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009576/0.4691, allocations: 446.2 kB / 0.5131 GB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.4704, allocations: 135.5 kB / 0.5132 GB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.4785, allocations: 3.944 MB / 0.5171 GB, free: 33.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.479, allocations: 0.8698 MB / 0.5179 GB, free: 32.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.4794, allocations: 56.28 kB / 0.518 GB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.4797, allocations: 174.9 kB / 0.5182 GB, free: 32.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4797, allocations: 3.656 kB / 0.5182 GB, free: 32.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.5101, allocations: 13.62 MB / 0.5315 GB, free: 27.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.5103, allocations: 208.2 kB / 0.5317 GB, free: 27.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.832, allocations: 4 kB / 0.5317 GB, free: 27.08 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat