Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 116.5 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 212.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.89 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] 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.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 80.92 kB / 0.4913 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 65.99 MB / 0.5557 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4759/0.5943, allocations: 186.6 MB / 0.7379 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006102/0.6004, allocations: 3.674 MB / 0.7415 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.6009, allocations: 19.88 kB / 0.7415 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009108/0.6018, allocations: 317.9 kB / 0.7418 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.6064, allocations: 1.755 MB / 0.7435 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6085, allocations: 0.7093 MB / 0.7442 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002054/0.6106, allocations: 1.528 MB / 0.7457 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.6112, allocations: 375.3 kB / 0.7461 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.6122, allocations: 0.5917 MB / 0.7466 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.6129, allocations: 478.1 kB / 0.7471 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.613, allocations: 52 kB / 0.7472 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.6165, allocations: 1.942 MB / 0.749 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.6167, allocations: 151.4 kB / 0.7492 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.6172, allocations: 350.4 kB / 0.7495 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.6206, allocations: 1.834 MB / 0.7513 GB, free: 5.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6206, allocations: 0 / 0.7513 GB, free: 5.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6206, allocations: 0 / 0.7513 GB, free: 5.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.6206, allocations: 4 kB / 0.7513 GB, free: 5.66 MB / 0.545 GB 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.002184/0.6228, allocations: 1.104 MB / 0.7524 GB, free: 4.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.6229, allocations: 12.03 kB / 0.7524 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.623, allocations: 83.41 kB / 0.7525 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.624, allocations: 135.5 kB / 0.7526 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.6249, allocations: 488.8 kB / 0.7531 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.6249, allocations: 33 kB / 0.7531 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/0.625, allocations: 47.94 kB / 0.7532 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.6261, allocations: 0.5828 MB / 0.7537 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.6261, allocations: 0 / 0.7537 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.6262, allocations: 24 kB / 0.7538 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.6262, allocations: 12 kB / 0.7538 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.6272, allocations: 471.5 kB / 0.7542 GB, free: 2.555 MB / 0.545 GB 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.00355/0.6308, allocations: 2.655 MB / 0.7568 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.6315, allocations: 327.4 kB / 0.7571 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.6318, allocations: 153.3 kB / 0.7573 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.6322, allocations: 437.8 kB / 0.7577 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.6323, allocations: 42.84 kB / 0.7577 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.6323, allocations: 0 / 0.7577 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001699/0.634, allocations: 0.7111 MB / 0.7584 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6341, allocations: 136.5 kB / 0.7586 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.6347, allocations: 466 kB / 0.759 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.6347, allocations: 33.7 kB / 0.759 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6349, allocations: 288.2 kB / 0.7593 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6351, allocations: 115 kB / 0.7594 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.6352, allocations: 106.1 kB / 0.7595 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.6354, allocations: 354.8 kB / 0.7599 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.6357, allocations: 152.8 kB / 0.76 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.6362, allocations: 283.6 kB / 0.7603 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.6369, allocations: 437.6 kB / 0.7607 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6369, allocations: 4 kB / 0.7607 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.6379, allocations: 0.5371 MB / 0.7612 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6379, allocations: 11.94 kB / 0.7612 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.638, allocations: 4 kB / 0.7612 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.6395, allocations: 236.5 kB / 0.7615 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.6398, allocations: 103.9 kB / 0.7616 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.6404, allocations: 0.5914 MB / 0.7621 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.6407, allocations: 51.72 kB / 0.7622 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.6408, allocations: 44 kB / 0.7622 GB, free: 9.789 MB / 0.5606 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.0002548/0.641, allocations: 185.6 kB / 0.7624 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6412, allocations: 55.67 kB / 0.7625 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.6431, allocations: 1.072 MB / 0.7635 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6432, allocations: 9.125 kB / 0.7635 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6432, allocations: 0 / 0.7635 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6432, allocations: 7.922 kB / 0.7635 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.6447, allocations: 1.011 MB / 0.7645 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6447, allocations: 4 kB / 0.7645 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.6449, allocations: 51.97 kB / 0.7646 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.6481, allocations: 440.2 kB / 0.765 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6481, allocations: 8 kB / 0.765 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005231/0.6487, allocations: 0.6031 MB / 0.7656 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6487, allocations: 4.031 kB / 0.7656 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/0.6495, allocations: 0.5059 MB / 0.7661 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.6497, allocations: 132.7 kB / 0.7662 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.6498, allocations: 15.89 kB / 0.7662 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.6501, allocations: 19.98 kB / 0.7662 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.6501, allocations: 23.91 kB / 0.7663 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.6502, allocations: 16 kB / 0.7663 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005282/0.6507, allocations: 410.8 kB / 0.7667 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6507, allocations: 0 / 0.7667 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009824/0.6517, allocations: 343 kB / 0.767 GB, free: 4.723 MB / 0.5606 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.001986/0.6537, allocations: 1.388 MB / 0.7683 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008378/0.6545, allocations: 356.4 kB / 0.7687 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6545, allocations: 0 / 0.7687 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.6549, allocations: 159.8 kB / 0.7688 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6564, allocations: 370.5 kB / 0.7692 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.6634, allocations: 4.803 MB / 0.7739 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.6639, allocations: 0.8557 MB / 0.7747 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001085/0.665, allocations: 0.5585 MB / 0.7753 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.6654, allocations: 227.3 kB / 0.7755 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.6654, allocations: 3.938 kB / 0.7755 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.7236, allocations: 23.23 MB / 0.7982 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.75, allocations: 11.14 kB / 0.7982 GB, free: 4.75 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.926883884705603]