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.0017/0.0017, allocations: 114 kB / 20.43 MB, free: 1.457 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.002315/0.002315, allocations: 217.1 kB / 23.74 MB, free: 4.672 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.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2345/0.2345, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.002567/0.002567, allocations: 83.86 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3093, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5185/0.8278, allocations: 186.8 MB / 0.7432 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.8333, allocations: 3.692 MB / 0.7468 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.8342, allocations: 25.59 kB / 0.7468 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.8351, allocations: 329 kB / 0.7471 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.8394, allocations: 1.758 MB / 0.7489 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.8415, allocations: 0.7297 MB / 0.7496 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.8431, allocations: 1.545 MB / 0.7511 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.8436, allocations: 364 kB / 0.7514 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009854/0.8446, allocations: 0.5999 MB / 0.752 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.8452, allocations: 481.5 kB / 0.7525 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.8453, allocations: 50.78 kB / 0.7525 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.849, allocations: 1.959 MB / 0.7544 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.8492, allocations: 159.2 kB / 0.7546 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.8498, allocations: 343.6 kB / 0.7549 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.853, allocations: 1.833 MB / 0.7567 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.853, allocations: 4.5 kB / 0.7567 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.853, allocations: 0 / 0.7567 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.853, allocations: 3.938 kB / 0.7567 GB, free: 1.512 MB / 0.5606 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.002141/0.8552, allocations: 1.031 MB / 0.7577 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8552, allocations: 11.44 kB / 0.7577 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.8553, allocations: 81.56 kB / 0.7578 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.8563, allocations: 144.9 kB / 0.7579 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/0.8571, allocations: 420.9 kB / 0.7583 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.8571, allocations: 33.62 kB / 0.7584 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.8572, allocations: 37.84 kB / 0.7584 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.8581, allocations: 0.5978 MB / 0.759 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.8581, allocations: 1.203 kB / 0.759 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.8582, allocations: 20.88 kB / 0.759 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8582, allocations: 10.31 kB / 0.759 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.859, allocations: 475.5 kB / 0.7595 GB, free: 16.54 MB / 0.5762 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.003015/0.862, allocations: 2.616 MB / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.8627, allocations: 323.4 kB / 0.7623 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.8629, allocations: 156.4 kB / 0.7625 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.8631, allocations: 54.77 kB / 0.7625 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.8632, allocations: 37.72 kB / 0.7626 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.8632, allocations: 1.062 kB / 0.7626 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001542/0.8647, allocations: 0.6375 MB / 0.7632 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.8648, allocations: 132.1 kB / 0.7633 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.8653, allocations: 473 kB / 0.7638 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.8653, allocations: 36.17 kB / 0.7638 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.8655, allocations: 279.8 kB / 0.7641 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.8656, allocations: 125.1 kB / 0.7642 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.8657, allocations: 104.1 kB / 0.7643 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.8659, allocations: 361.3 kB / 0.7646 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.8662, allocations: 151.2 kB / 0.7648 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.8665, allocations: 277.6 kB / 0.7651 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.8671, allocations: 440.4 kB / 0.7655 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8671, allocations: 0 / 0.7655 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009223/0.868, allocations: 0.5426 MB / 0.766 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.868, allocations: 7.062 kB / 0.766 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.868, allocations: 6.578 kB / 0.766 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.8696, allocations: 233.6 kB / 0.7662 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.8699, allocations: 107.4 kB / 0.7663 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006149/0.8705, allocations: 0.5973 MB / 0.7669 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.8709, allocations: 47.73 kB / 0.767 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.871, allocations: 46.23 kB / 0.767 GB, free: 12.87 MB / 0.5762 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.0002845/0.8713, allocations: 177.6 kB / 0.7672 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8714, allocations: 59.42 kB / 0.7672 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.8731, allocations: 1.085 MB / 0.7683 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8731, allocations: 2.219 kB / 0.7683 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8731, allocations: 0.9062 kB / 0.7683 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8731, allocations: 7.234 kB / 0.7683 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.8746, allocations: 0.9759 MB / 0.7693 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8746, allocations: 6.562 kB / 0.7693 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.8748, allocations: 56.22 kB / 0.7693 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.8779, allocations: 436.6 kB / 0.7697 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.8779, allocations: 11.12 kB / 0.7697 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005179/0.8784, allocations: 0.5993 MB / 0.7703 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8784, allocations: 6.625 kB / 0.7703 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.8793, allocations: 0.5023 MB / 0.7708 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.8794, allocations: 54.8 kB / 0.7709 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8795, allocations: 24.95 kB / 0.7709 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.8799, allocations: 21.33 kB / 0.7709 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.8799, allocations: 26.73 kB / 0.771 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.88, allocations: 17.61 kB / 0.771 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000486/0.8804, allocations: 402 kB / 0.7714 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8804, allocations: 0 / 0.7714 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001159/0.8816, allocations: 339.9 kB / 0.7717 GB, free: 11.28 MB / 0.5762 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.002095/0.8837, allocations: 1.373 MB / 0.773 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008815/0.8846, allocations: 359.4 kB / 0.7734 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8846, allocations: 3.5 kB / 0.7734 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.8849, allocations: 159.2 kB / 0.7735 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.8865, allocations: 364.6 kB / 0.7739 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/0.893, allocations: 4.827 MB / 0.7786 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.8935, allocations: 0.8577 MB / 0.7794 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009964/0.8945, allocations: 0.5548 MB / 0.78 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.8949, allocations: 223.1 kB / 0.7802 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.8949, allocations: 0 / 0.7802 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06346/0.9583, allocations: 23.44 MB / 0.8031 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.49, allocations: 19.89 kB / 0.8031 GB, free: 13.66 MB / 0.5919 GB " [Timeout remaining time 644] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.581305044004694]