Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008947/0.0008948, allocations: 198.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007594/0.0007593, allocations: 95.09 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2965/0.2965, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002871, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2765, allocations: 62.96 MB / 0.516 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002369/0.2789, allocations: 2.514 MB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2803, allocations: 0.9853 MB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.2805, allocations: 15.09 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.739e-05/0.2806, allocations: 36.84 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.2808, allocations: 66.36 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.2814, allocations: 294 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.2819, allocations: 0.5028 MB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.2822, allocations: 215.1 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2824, allocations: 184.9 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2826, allocations: 210.4 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.2826, allocations: 16.69 kB / 0.5209 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.2827, allocations: 20.88 kB / 0.5209 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.2828, allocations: 80.72 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.283, allocations: 224.4 kB / 0.5212 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.2833, allocations: 356.3 kB / 0.5215 GB, free: 33.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2833, allocations: 0 / 0.5215 GB, free: 33.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2833, allocations: 0 / 0.5215 GB, free: 33.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2833, allocations: 3.938 kB / 0.5215 GB, free: 33.46 MB / 378.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.001505/0.2848, allocations: 0.9045 MB / 0.5224 GB, free: 32.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2849, allocations: 8.375 kB / 0.5224 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.2849, allocations: 82.06 kB / 0.5225 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.2852, allocations: 75.86 kB / 0.5226 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.2856, allocations: 396.6 kB / 0.5229 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2856, allocations: 34.94 kB / 0.523 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.2857, allocations: 50.84 kB / 0.523 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2869, allocations: 0.6635 MB / 0.5237 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.287, allocations: 2.812 kB / 0.5237 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.287, allocations: 19.03 kB / 0.5237 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.287, allocations: 17.56 kB / 0.5237 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.2885, allocations: 0.6162 MB / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.2909, allocations: 1.833 MB / 0.5261 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.2923, allocations: 0.6872 MB / 0.5268 GB, free: 30.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.2931, allocations: 376.8 kB / 0.5271 GB, free: 30.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.2932, allocations: 9.047 kB / 0.5271 GB, free: 30.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2932, allocations: 49.22 kB / 0.5272 GB, free: 30.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.2932, allocations: 2.75 kB / 0.5272 GB, free: 30.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002552/0.2958, allocations: 0.9022 MB / 0.5281 GB, free: 29.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.2958, allocations: 295.2 kB / 0.5283 GB, free: 29.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2961, allocations: 343.1 kB / 0.5287 GB, free: 29.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2962, allocations: 36.3 kB / 0.5287 GB, free: 29.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2963, allocations: 262.2 kB / 0.529 GB, free: 29.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.2964, allocations: 156.9 kB / 0.5291 GB, free: 29.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.2964, allocations: 10.66 kB / 0.5291 GB, free: 29.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2965, allocations: 360.1 kB / 0.5295 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/0.2972, allocations: 284.8 kB / 0.5297 GB, free: 28.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.2981, allocations: 415.1 kB / 0.5301 GB, free: 28.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2996, allocations: 0.657 MB / 0.5308 GB, free: 28.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2996, allocations: 2.781 kB / 0.5308 GB, free: 28.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00345/0.3031, allocations: 1.244 MB / 0.532 GB, free: 27.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/0.3032, allocations: 185.4 kB / 0.5322 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3032, allocations: 2.812 kB / 0.5322 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.305, allocations: 493.4 kB / 0.5326 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.3055, allocations: 115.4 kB / 0.5327 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.3163, allocations: 11.96 MB / 0.5444 GB, free: 16.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.317, allocations: 121.7 kB / 0.5445 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.317, allocations: 20.38 kB / 0.5446 GB, free: 16.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.317, allocations: 3.625 kB / 0.5446 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/0.3191, allocations: 0.7567 MB / 0.5453 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3191, allocations: 4.188 kB / 0.5453 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.3197, allocations: 177.5 kB / 0.5455 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.3204, allocations: 194.5 kB / 0.5457 GB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.3238, allocations: 3.517 MB / 0.5491 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.3243, allocations: 103.8 kB / 0.5492 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3244, allocations: 19.73 kB / 0.5492 GB, free: 13.57 MB / 378.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.0002661/0.3246, allocations: 241.8 kB / 0.5494 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.3248, allocations: 51.64 kB / 0.5495 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.3267, allocations: 0.7185 MB / 0.5502 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3267, allocations: 7.672 kB / 0.5502 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3267, allocations: 2.188 kB / 0.5502 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3267, allocations: 3.609 kB / 0.5502 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008005/0.3275, allocations: 492.5 kB / 0.5507 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3275, allocations: 6.125 kB / 0.5507 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3282, allocations: 147.4 kB / 0.5508 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.3283, allocations: 17.91 kB / 0.5508 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.3283, allocations: 14.53 kB / 0.5509 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005903/0.3289, allocations: 1.304 MB / 0.5521 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.329, allocations: 1.906 kB / 0.5521 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.3316, allocations: 1.54 MB / 0.5536 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.3317, allocations: 119.5 kB / 0.5537 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.3317, allocations: 18.25 kB / 0.5538 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.3324, allocations: 94.36 kB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3325, allocations: 39.69 kB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3326, allocations: 16.22 kB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.3328, allocations: 234.2 kB / 0.5541 GB, free: 10.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 0 / 0.5541 GB, free: 10.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001332/0.3341, allocations: 226.9 kB / 0.5543 GB, free: 10.23 MB / 378.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.002941/0.3371, allocations: 2.084 MB / 0.5564 GB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005951/0.343, allocations: 2.496 MB / 0.5588 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3431, allocations: 0 / 0.5588 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3441, allocations: 451.6 kB / 0.5592 GB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3454, allocations: 124.9 kB / 0.5594 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.3537, allocations: 3.98 MB / 0.5633 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.3541, allocations: 0.8618 MB / 0.5641 GB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3544, allocations: 179.5 kB / 0.5643 GB, free: 4.676 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3544, allocations: 8.812 kB / 0.5643 GB, free: 4.668 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.962/4.316, allocations: 14.41 MB / 0.5783 GB, free: 7.121 MB / 394.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat