Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.001145/0.001145, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 222.6 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2808/0.2808, allocations: 43.49 MB / 313.5 MB, free: 8.602 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 382.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08723, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3044/0.3916, allocations: 188.4 MB / 0.6136 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007561/0.3992, allocations: 6.259 MB / 0.6197 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.3999, allocations: 23.81 kB / 0.6197 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.4006, allocations: 274.5 kB / 0.62 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.4042, allocations: 1.719 MB / 0.6216 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.4057, allocations: 0.6423 MB / 0.6223 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.4074, allocations: 2.015 MB / 0.6242 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.4078, allocations: 368.4 kB / 0.6246 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.4084, allocations: 0.5253 MB / 0.6251 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.4089, allocations: 470.1 kB / 0.6256 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.4089, allocations: 28 kB / 0.6256 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.4115, allocations: 1.981 MB / 0.6275 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4117, allocations: 139.5 kB / 0.6276 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.4119, allocations: 322.5 kB / 0.628 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2113/0.6233, allocations: 1.894 MB / 0.6298 GB, free: 7.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6233, allocations: 0 / 0.6298 GB, free: 7.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6234, allocations: 0 / 0.6298 GB, free: 7.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.6234, allocations: 0 / 0.6298 GB, free: 7.281 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001725/0.6251, allocations: 1.11 MB / 0.6309 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6252, allocations: 13.72 kB / 0.6309 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.683e-05/0.6252, allocations: 82.31 kB / 0.631 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.6262, allocations: 141.2 kB / 0.6311 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.6267, allocations: 465.9 kB / 0.6316 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.6267, allocations: 34.81 kB / 0.6316 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.6268, allocations: 40.81 kB / 0.6316 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009111/0.6277, allocations: 0.5888 MB / 0.6322 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6277, allocations: 2.625 kB / 0.6322 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.6278, allocations: 21.95 kB / 0.6322 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6278, allocations: 11.28 kB / 0.6322 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.6286, allocations: 469.9 kB / 0.6327 GB, free: 6.344 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.6309, allocations: 2.677 MB / 0.6353 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.6315, allocations: 343.8 kB / 0.6356 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.6318, allocations: 171.6 kB / 0.6358 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.6329, allocations: 1.305 MB / 0.6371 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6329, allocations: 46.97 kB / 0.6371 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.6329, allocations: 0 / 0.6371 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001499/0.6344, allocations: 0.6994 MB / 0.6378 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.6345, allocations: 138.6 kB / 0.6379 GB, free: 19.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.6349, allocations: 466.1 kB / 0.6384 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.635, allocations: 30.95 kB / 0.6384 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.6351, allocations: 284.6 kB / 0.6387 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.6352, allocations: 106.9 kB / 0.6388 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.6353, allocations: 103.7 kB / 0.6389 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6354, allocations: 363.5 kB / 0.6392 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.6357, allocations: 151.9 kB / 0.6394 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.636, allocations: 278.2 kB / 0.6396 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.6366, allocations: 434.6 kB / 0.64 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6366, allocations: 2.875 kB / 0.64 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008657/0.6375, allocations: 0.5277 MB / 0.6406 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6375, allocations: 5.688 kB / 0.6406 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6376, allocations: 3.719 kB / 0.6406 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.639, allocations: 242.1 kB / 0.6408 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.6393, allocations: 98.02 kB / 0.6409 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003954/0.6397, allocations: 0.5942 MB / 0.6415 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.64, allocations: 67.02 kB / 0.6415 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.6401, allocations: 47.38 kB / 0.6416 GB, free: 17.4 MB / 0.4981 GB 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 (44): * Single equations (assignments): 43 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.6403, allocations: 185.4 kB / 0.6418 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.6404, allocations: 54.12 kB / 0.6418 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.6418, allocations: 0.716 MB / 0.6425 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6418, allocations: 9.172 kB / 0.6425 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6418, allocations: 0 / 0.6425 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6418, allocations: 2.438 kB / 0.6425 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.643, allocations: 1.015 MB / 0.6435 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.643, allocations: 1.969 kB / 0.6435 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.6432, allocations: 49.78 kB / 0.6436 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/0.6463, allocations: 440.1 kB / 0.644 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.6463, allocations: 11.05 kB / 0.644 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003621/0.6467, allocations: 0.6036 MB / 0.6446 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6467, allocations: 3.938 kB / 0.6446 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/0.6474, allocations: 0.5054 MB / 0.6451 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6475, allocations: 138.6 kB / 0.6452 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.6476, allocations: 12.56 kB / 0.6452 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.6479, allocations: 40.17 kB / 0.6453 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.648, allocations: 25.47 kB / 0.6453 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.648, allocations: 16.59 kB / 0.6453 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000398/0.6484, allocations: 396.9 kB / 0.6457 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6485, allocations: 6.797 kB / 0.6457 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009047/0.6494, allocations: 366.2 kB / 0.646 GB, free: 15.69 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001864/0.6512, allocations: 1.45 MB / 0.6475 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.6519, allocations: 366.5 kB / 0.6478 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6519, allocations: 2.062 kB / 0.6478 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.6523, allocations: 168.4 kB / 0.648 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6538, allocations: 348.3 kB / 0.6483 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.6596, allocations: 5.092 MB / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.66, allocations: 0.8547 MB / 0.6541 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.6608, allocations: 214.7 kB / 0.6543 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6611, allocations: 211.6 kB / 0.6545 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6611, allocations: 2.812 kB / 0.6545 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.7057, allocations: 23.04 MB / 0.677 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.706, allocations: 292 kB / 0.6773 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.165, allocations: 0 / 0.6773 GB, free: 5.578 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches