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.001229/0.001229, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 200.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 11.98 kB / 418 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003089/0.1558, allocations: 2.509 MB / 484 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1576, allocations: 0.9709 MB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1578, allocations: 15.94 kB / 485 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.569e-05/0.1579, allocations: 35.58 kB / 485 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1582, allocations: 87.66 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.159, allocations: 287 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1595, allocations: 356.5 kB / 485.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.1598, allocations: 177 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.16, allocations: 179.2 kB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.1603, allocations: 210.8 kB / 486.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.1603, allocations: 16 kB / 486.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.1604, allocations: 20 kB / 486.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.1605, allocations: 95.52 kB / 486.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.1606, allocations: 101.4 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.161, allocations: 347.4 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.161, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.161, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.161, allocations: 0 / 486.9 MB, free: 15.88 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.001673/0.1627, allocations: 0.9081 MB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1627, allocations: 8.031 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.1628, allocations: 90.52 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.1631, allocations: 79.14 kB / 488 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.1636, allocations: 376.8 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.1636, allocations: 36.98 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.1637, allocations: 55.91 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.165, allocations: 0.6566 MB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.165, allocations: 0 / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.1651, allocations: 16 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1651, allocations: 12 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.1667, allocations: 0.6205 MB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.1695, allocations: 1.824 MB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.1711, allocations: 0.6855 MB / 492.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.1712, allocations: 16.97 kB / 492.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1713, allocations: 50.48 kB / 492.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.1713, allocations: 0 / 492.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002724/0.174, allocations: 0.9068 MB / 493.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.1742, allocations: 302.7 kB / 493.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.1746, allocations: 345.6 kB / 493.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.1746, allocations: 33.7 kB / 493.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1748, allocations: 260.4 kB / 494.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.175, allocations: 165.6 kB / 494.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.175, allocations: 8 kB / 494.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1752, allocations: 362.8 kB / 494.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/0.176, allocations: 268.9 kB / 494.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.1769, allocations: 420.8 kB / 495.3 MB, free: 6.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.1777, allocations: 295.7 kB / 495.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1777, allocations: 3.938 kB / 495.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003673/0.1814, allocations: 1.243 MB / 496.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007404/0.1822, allocations: 1.32 MB / 498.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.1822, allocations: 4 kB / 498.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.1842, allocations: 496.7 kB / 498.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.1847, allocations: 111.8 kB / 498.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.1997, allocations: 12.07 MB / 0.4989 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.2005, allocations: 123.7 kB / 0.499 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.2005, allocations: 23.98 kB / 0.499 GB, free: 6.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2006, allocations: 0 / 0.499 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/0.2027, allocations: 0.7511 MB / 0.4997 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.2028, allocations: 4.094 kB / 0.4998 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.2034, allocations: 170.1 kB / 0.4999 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.2042, allocations: 199.7 kB / 0.5001 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/0.2086, allocations: 3.571 MB / 0.5036 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.2092, allocations: 103.6 kB / 0.5037 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2092, allocations: 20 kB / 0.5037 GB, free: 1.133 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.0003673/0.2096, allocations: 248.9 kB / 0.5039 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.2098, allocations: 55.42 kB / 0.504 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.2117, allocations: 0.7041 MB / 0.5047 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.2117, allocations: 11.98 kB / 0.5047 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2117, allocations: 4 kB / 0.5047 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.2117, allocations: 0 / 0.5047 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2678/0.4796, allocations: 492.1 kB / 0.5052 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.4796, allocations: 1.625 kB / 0.5052 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.4805, allocations: 149.1 kB / 0.5053 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.4807, allocations: 25.02 kB / 0.5053 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.4807, allocations: 13.38 kB / 0.5054 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/0.4817, allocations: 1.305 MB / 0.5066 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4817, allocations: 1.5 kB / 0.5066 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.4849, allocations: 1.595 MB / 0.5082 GB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.485, allocations: 128.2 kB / 0.5083 GB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.4851, allocations: 15.44 kB / 0.5083 GB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.4858, allocations: 93.45 kB / 0.5084 GB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4859, allocations: 40.58 kB / 0.5084 GB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.486, allocations: 15.83 kB / 0.5085 GB, free: 36.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.4862, allocations: 233.7 kB / 0.5087 GB, free: 36.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4862, allocations: 3.062 kB / 0.5087 GB, free: 36.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001497/0.4877, allocations: 220.7 kB / 0.5089 GB, free: 36.55 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.003382/0.4911, allocations: 2.567 MB / 0.5114 GB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006593/0.4977, allocations: 2.509 MB / 0.5139 GB, free: 34.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.4978, allocations: 1.969 kB / 0.5139 GB, free: 34.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4988, allocations: 453.6 kB / 0.5143 GB, free: 33.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.4998, allocations: 118.6 kB / 0.5144 GB, free: 33.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.5108, allocations: 6.03 MB / 0.5203 GB, free: 30.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.5119, allocations: 0.8816 MB / 0.5212 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.5124, allocations: 59.64 kB / 0.5212 GB, free: 29.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.5127, allocations: 177.8 kB / 0.5214 GB, free: 29.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5127, allocations: 1.5 kB / 0.5214 GB, free: 29.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.5444, allocations: 13.6 MB / 0.5347 GB, free: 24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.5447, allocations: 200.8 kB / 0.5349 GB, free: 23.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.784, allocations: 0 / 0.5349 GB, free: 23.76 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