Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001573/0.001573, allocations: 109.1 kB / 21.22 MB, free: 0.75 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.001972/0.001972, allocations: 213.4 kB / 24.53 MB, free: 4.148 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2256/0.2256, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2985, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5228/0.8214, allocations: 184.9 MB / 0.7421 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005703/0.8271, allocations: 5.038 MB / 0.747 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.8276, allocations: 26.81 kB / 0.7471 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.8284, allocations: 345.8 kB / 0.7474 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.8326, allocations: 2.17 MB / 0.7495 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.8345, allocations: 0.9342 MB / 0.7504 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.8361, allocations: 1.709 MB / 0.7521 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.8365, allocations: 374.4 kB / 0.7524 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.838, allocations: 0.8813 MB / 0.7533 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.8386, allocations: 0.5207 MB / 0.7538 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.8387, allocations: 54.03 kB / 0.7539 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/0.8429, allocations: 2.52 MB / 0.7563 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.8431, allocations: 186.6 kB / 0.7565 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.8436, allocations: 372.1 kB / 0.7569 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.8471, allocations: 2.131 MB / 0.7589 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8471, allocations: 2.031 kB / 0.7589 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8471, allocations: 0 / 0.7589 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.8472, allocations: 0 / 0.7589 GB, free: 1.48 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002574/0.8497, allocations: 1.095 MB / 0.76 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.8498, allocations: 9.25 kB / 0.76 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.752e-05/0.8498, allocations: 11.44 kB / 0.76 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.8499, allocations: 95.8 kB / 0.7601 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.8513, allocations: 165.6 kB / 0.7603 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.8522, allocations: 439 kB / 0.7607 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.8522, allocations: 36.97 kB / 0.7607 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.8523, allocations: 44.5 kB / 0.7608 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.8533, allocations: 0.6404 MB / 0.7614 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.8533, allocations: 3.188 kB / 0.7614 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.8534, allocations: 22.41 kB / 0.7614 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.8534, allocations: 11.06 kB / 0.7614 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.8542, allocations: 0.4914 MB / 0.7619 GB, free: 16.46 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.00298/0.8572, allocations: 2.601 MB / 0.7645 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.8578, allocations: 298.9 kB / 0.7647 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.858, allocations: 144.2 kB / 0.7649 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.8582, allocations: 52.17 kB / 0.7649 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.8583, allocations: 41.12 kB / 0.765 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.8583, allocations: 1.203 kB / 0.765 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001462/0.8597, allocations: 0.6224 MB / 0.7656 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8598, allocations: 163.6 kB / 0.7657 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.8603, allocations: 0.5052 MB / 0.7662 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.8604, allocations: 34.83 kB / 0.7663 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.8606, allocations: 299.2 kB / 0.7665 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.8607, allocations: 131.8 kB / 0.7667 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.8609, allocations: 124.4 kB / 0.7668 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8611, allocations: 363.3 kB / 0.7671 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.8613, allocations: 148.7 kB / 0.7673 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.8617, allocations: 315.5 kB / 0.7676 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.8623, allocations: 474.5 kB / 0.768 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8623, allocations: 3.344 kB / 0.768 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009602/0.8633, allocations: 0.5705 MB / 0.7686 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8633, allocations: 5.656 kB / 0.7686 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8633, allocations: 5.438 kB / 0.7686 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.8649, allocations: 238.1 kB / 0.7688 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.8653, allocations: 124.7 kB / 0.7689 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005175/0.8658, allocations: 0.5943 MB / 0.7695 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.8662, allocations: 59.3 kB / 0.7696 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/0.8662, allocations: 51.92 kB / 0.7696 GB, free: 12.72 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002695/0.8665, allocations: 190 kB / 0.7698 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.8667, allocations: 62.08 kB / 0.7699 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.8683, allocations: 1.092 MB / 0.7709 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.8683, allocations: 8.219 kB / 0.7709 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8683, allocations: 0 / 0.7709 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8683, allocations: 3 kB / 0.771 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.8696, allocations: 0.9621 MB / 0.7719 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8696, allocations: 1.094 kB / 0.7719 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.8698, allocations: 49.75 kB / 0.7719 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.8728, allocations: 440.7 kB / 0.7724 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.8728, allocations: 11.72 kB / 0.7724 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004784/0.8733, allocations: 0.5944 MB / 0.773 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.8733, allocations: 6.469 kB / 0.773 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.874, allocations: 0.5024 MB / 0.7734 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.8741, allocations: 64.92 kB / 0.7735 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.8742, allocations: 11.61 kB / 0.7735 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.8746, allocations: 23 kB / 0.7735 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.8746, allocations: 32.19 kB / 0.7736 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.8747, allocations: 16.75 kB / 0.7736 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004868/0.8752, allocations: 429.6 kB / 0.774 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8752, allocations: 0 / 0.774 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001065/0.8762, allocations: 356 kB / 0.7743 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.002009/0.8782, allocations: 1.376 MB / 0.7757 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008205/0.879, allocations: 362.5 kB / 0.776 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.8791, allocations: 0.7812 kB / 0.776 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.8793, allocations: 146 kB / 0.7762 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.8812, allocations: 416.6 kB / 0.7766 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006242/0.8875, allocations: 4.997 MB / 0.7814 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.8879, allocations: 0.8696 MB / 0.7823 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001072/0.889, allocations: 0.5711 MB / 0.7829 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.8893, allocations: 242.8 kB / 0.7831 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.8893, allocations: 3.062 kB / 0.7831 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.9442, allocations: 25.43 MB / 0.8079 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.34, allocations: 11.92 kB / 0.8079 GB, free: 10.13 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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: 17.59433120500762]