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.0008705/0.0008708, allocations: 95.81 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.18 MB / 345.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 11.98 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 63.56 MB / 483.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003334/0.1236, allocations: 2.651 MB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.126, allocations: 1.013 MB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.1265, allocations: 19.81 kB / 486.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1267, allocations: 35.58 kB / 486.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.1272, allocations: 59.44 kB / 487 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.128, allocations: 327.2 kB / 487.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.1287, allocations: 0.5427 MB / 487.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.129, allocations: 207.8 kB / 488 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.1294, allocations: 191.1 kB / 488.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.1296, allocations: 210.7 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.1297, allocations: 20 kB / 488.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.1298, allocations: 23.98 kB / 488.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.1299, allocations: 91.53 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1301, allocations: 236.2 kB / 488.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.1306, allocations: 478.3 kB / 489.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1306, allocations: 0 / 489.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1306, allocations: 0 / 489.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.1306, allocations: 0 / 489.2 MB, free: 14.02 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.001776/0.1324, allocations: 0.912 MB / 490.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1325, allocations: 12.88 kB / 490.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.1326, allocations: 82.72 kB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.1329, allocations: 72.17 kB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1334, allocations: 389.8 kB / 490.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.1334, allocations: 33.38 kB / 490.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.1335, allocations: 56.31 kB / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1349, allocations: 0.6685 MB / 491.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1349, allocations: 0 / 491.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.135, allocations: 16 kB / 491.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.135, allocations: 12 kB / 491.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.1367, allocations: 0.631 MB / 492.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.1396, allocations: 1.82 MB / 493.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1413, allocations: 0.6972 MB / 494.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.1422, allocations: 377.8 kB / 495 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.1422, allocations: 15.97 kB / 495 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1423, allocations: 46.5 kB / 495.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.1423, allocations: 0 / 495.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002802/0.1451, allocations: 0.9122 MB / 496 MB, free: 6.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.1453, allocations: 286.7 kB / 496.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.1457, allocations: 345.7 kB / 496.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.1458, allocations: 37.7 kB / 496.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.146, allocations: 264.5 kB / 496.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1461, allocations: 165.6 kB / 497 MB, free: 5.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1462, allocations: 45.7 kB / 497.1 MB, free: 5.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1463, allocations: 358.7 kB / 497.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/0.1472, allocations: 288.8 kB / 497.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009216/0.1481, allocations: 416.8 kB / 498.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.1499, allocations: 0.6604 MB / 498.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1499, allocations: 0 / 498.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003894/0.1538, allocations: 1.266 MB / 0.4883 GB, free: 2.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.154, allocations: 189.3 kB / 0.4885 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.154, allocations: 3.938 kB / 0.4885 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.156, allocations: 492.7 kB / 0.489 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.1565, allocations: 119.8 kB / 0.4891 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.1718, allocations: 11.95 MB / 0.5008 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.1725, allocations: 127.5 kB / 0.5009 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.1726, allocations: 20 kB / 0.5009 GB, free: 4.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1726, allocations: 4 kB / 0.5009 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002229/0.1748, allocations: 0.7587 MB / 0.5017 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1748, allocations: 4 kB / 0.5017 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.1755, allocations: 173.8 kB / 0.5018 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.1762, allocations: 191.7 kB / 0.502 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2267/0.403, allocations: 3.522 MB / 0.5055 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.4036, allocations: 102.3 kB / 0.5056 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.4037, allocations: 19.77 kB / 0.5056 GB, free: 36.77 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 (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.404, allocations: 241.9 kB / 0.5058 GB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.4043, allocations: 49.91 kB / 0.5058 GB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.4065, allocations: 0.7225 MB / 0.5066 GB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4065, allocations: 5.594 kB / 0.5066 GB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4065, allocations: 2.812 kB / 0.5066 GB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4065, allocations: 3.812 kB / 0.5066 GB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.4074, allocations: 497.3 kB / 0.507 GB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4074, allocations: 1.469 kB / 0.507 GB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006947/0.4081, allocations: 149.9 kB / 0.5072 GB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.4082, allocations: 25.23 kB / 0.5072 GB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.4083, allocations: 16.7 kB / 0.5072 GB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006704/0.4089, allocations: 1.307 MB / 0.5085 GB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.409, allocations: 2.406 kB / 0.5085 GB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.4118, allocations: 1.532 MB / 0.51 GB, free: 34.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.4119, allocations: 121.9 kB / 0.5101 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.4119, allocations: 13.39 kB / 0.5101 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.4126, allocations: 91.95 kB / 0.5102 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4128, allocations: 49.11 kB / 0.5103 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.4128, allocations: 14.61 kB / 0.5103 GB, free: 34.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.4131, allocations: 241 kB / 0.5105 GB, free: 34.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4131, allocations: 1.375 kB / 0.5105 GB, free: 34.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00136/0.4144, allocations: 222.4 kB / 0.5107 GB, free: 34.3 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003048/0.4175, allocations: 2.085 MB / 0.5128 GB, free: 33.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006027/0.4235, allocations: 2.512 MB / 0.5152 GB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4236, allocations: 1.375 kB / 0.5152 GB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.4246, allocations: 448.8 kB / 0.5156 GB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4259, allocations: 134.1 kB / 0.5158 GB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.4386, allocations: 6.643 MB / 0.5223 GB, free: 28.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.439, allocations: 0.8691 MB / 0.5231 GB, free: 28.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.4393, allocations: 59.8 kB / 0.5232 GB, free: 28.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.4396, allocations: 175.7 kB / 0.5233 GB, free: 28.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4396, allocations: 0 / 0.5233 GB, free: 28.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.4671, allocations: 13.98 MB / 0.537 GB, free: 20.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.4673, allocations: 214.1 kB / 0.5372 GB, free: 20.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.754, allocations: 0 / 0.5372 GB, free: 20.57 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches