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.001646/0.001646, allocations: 110 kB / 20.43 MB, free: 1.453 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.001503/0.001503, allocations: 212.6 kB / 23.74 MB, free: 4.66 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.969 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.2301/0.2301, allocations: 46.92 MB / 360.8 MB, free: 4.258 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 80.14 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3284, allocations: 66.1 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5665/0.8949, allocations: 184.9 MB / 0.7413 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00703/0.9019, allocations: 5.031 MB / 0.7463 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.9026, allocations: 24.66 kB / 0.7463 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008849/0.9035, allocations: 348.1 kB / 0.7466 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.9104, allocations: 2.163 MB / 0.7487 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.9135, allocations: 0.9507 MB / 0.7497 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.9158, allocations: 1.699 MB / 0.7513 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008062/0.9166, allocations: 376.5 kB / 0.7517 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.9185, allocations: 0.8824 MB / 0.7525 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.9193, allocations: 0.5242 MB / 0.753 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.9194, allocations: 51.12 kB / 0.7531 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.9234, allocations: 2.522 MB / 0.7556 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.9236, allocations: 176.9 kB / 0.7557 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.924, allocations: 380.4 kB / 0.7561 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.9271, allocations: 2.132 MB / 0.7582 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9271, allocations: 5.625 kB / 0.7582 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9271, allocations: 0 / 0.7582 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9271, allocations: 0.9062 kB / 0.7582 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.001944/0.929, allocations: 1.088 MB / 0.7592 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9291, allocations: 7.938 kB / 0.7592 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.9292, allocations: 91.95 kB / 0.7593 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.9303, allocations: 163.4 kB / 0.7595 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.9311, allocations: 447.8 kB / 0.7599 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.9311, allocations: 37.06 kB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.9312, allocations: 44.62 kB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.9321, allocations: 0.6398 MB / 0.7606 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9322, allocations: 1.094 kB / 0.7606 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.9322, allocations: 22.62 kB / 0.7606 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.9322, allocations: 12.47 kB / 0.7607 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/0.933, allocations: 498.8 kB / 0.7611 GB, free: 16.47 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.002819/0.9358, allocations: 2.597 MB / 0.7637 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.9364, allocations: 298.1 kB / 0.764 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.9366, allocations: 146.7 kB / 0.7641 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.9368, allocations: 57.86 kB / 0.7641 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.9368, allocations: 45.84 kB / 0.7642 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.9368, allocations: 0.6875 kB / 0.7642 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00138/0.9382, allocations: 0.6239 MB / 0.7648 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.9383, allocations: 156.8 kB / 0.7649 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.9388, allocations: 0.5132 MB / 0.7654 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.9389, allocations: 30.95 kB / 0.7655 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.939, allocations: 300.4 kB / 0.7658 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.9391, allocations: 137.8 kB / 0.7659 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.9393, allocations: 113.8 kB / 0.766 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9394, allocations: 367.4 kB / 0.7664 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.9396, allocations: 143.7 kB / 0.7665 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.94, allocations: 320.6 kB / 0.7668 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.9406, allocations: 472.8 kB / 0.7672 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.9406, allocations: 3.938 kB / 0.7673 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008523/0.9414, allocations: 0.5687 MB / 0.7678 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9414, allocations: 9.594 kB / 0.7678 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.9414, allocations: 5.719 kB / 0.7678 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.9429, allocations: 238.4 kB / 0.7681 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.9432, allocations: 119.8 kB / 0.7682 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004649/0.9437, allocations: 0.5811 MB / 0.7687 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.944, allocations: 65.94 kB / 0.7688 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/0.9441, allocations: 56.34 kB / 0.7688 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.0002426/0.9443, allocations: 187.5 kB / 0.769 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.9444, allocations: 62.38 kB / 0.7691 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.9461, allocations: 1.099 MB / 0.7702 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.9461, allocations: 2.281 kB / 0.7702 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9461, allocations: 4.938 kB / 0.7702 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9461, allocations: 5.953 kB / 0.7702 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.9473, allocations: 0.9602 MB / 0.7711 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.9473, allocations: 1.094 kB / 0.7711 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.9475, allocations: 53.25 kB / 0.7712 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.9505, allocations: 438.3 kB / 0.7716 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.9505, allocations: 9.219 kB / 0.7716 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.951, allocations: 0.5957 MB / 0.7722 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.951, allocations: 0 / 0.7722 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.9516, allocations: 0.4929 MB / 0.7727 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.9517, allocations: 71.53 kB / 0.7727 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.9518, allocations: 15.05 kB / 0.7727 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.9522, allocations: 13.95 kB / 0.7727 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.9522, allocations: 32.19 kB / 0.7728 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.9522, allocations: 27.19 kB / 0.7728 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004513/0.9527, allocations: 428.4 kB / 0.7732 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9527, allocations: 0.6562 kB / 0.7732 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00096/0.9537, allocations: 356.2 kB / 0.7736 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.001705/0.9554, allocations: 1.381 MB / 0.7749 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.956, allocations: 358 kB / 0.7752 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.956, allocations: 5 kB / 0.7752 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.9563, allocations: 145 kB / 0.7754 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.958, allocations: 403.5 kB / 0.7758 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005984/0.964, allocations: 5.011 MB / 0.7807 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.9644, allocations: 0.8649 MB / 0.7815 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001063/0.9655, allocations: 0.5736 MB / 0.7821 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.9658, allocations: 246.8 kB / 0.7823 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.9658, allocations: 1.094 kB / 0.7823 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/1.032, allocations: 25.39 MB / 0.8071 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.8, allocations: 18.41 kB / 0.8071 GB, free: 10.18 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: 18.112046017078683]