Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 215.5 kB / 23.78 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003374/0.003374, allocations: 71.89 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1586, allocations: 61.04 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4453/0.6038, allocations: 162.7 MB / 0.6759 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.6146, allocations: 6.788 MB / 0.6825 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.6153, allocations: 19.81 kB / 0.6825 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.6163, allocations: 337.8 kB / 0.6828 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00734/0.6236, allocations: 2.757 MB / 0.6855 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.6269, allocations: 0.9311 MB / 0.6864 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002719/0.6296, allocations: 1.695 MB / 0.6881 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006629/0.6303, allocations: 378.4 kB / 0.6884 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.6319, allocations: 0.8837 MB / 0.6893 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.6327, allocations: 0.5175 MB / 0.6898 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.6328, allocations: 56 kB / 0.6899 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.6361, allocations: 1.509 MB / 0.6913 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.6363, allocations: 175.3 kB / 0.6915 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.6367, allocations: 310.8 kB / 0.6918 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.6399, allocations: 1.897 MB / 0.6937 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6399, allocations: 3.938 kB / 0.6937 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6399, allocations: 4 kB / 0.6937 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.6399, allocations: 0 / 0.6937 GB, free: 13.17 MB / 0.5294 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.002213/0.6421, allocations: 1.119 MB / 0.6948 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6421, allocations: 8.031 kB / 0.6948 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.554e-05/0.6422, allocations: 16.94 kB / 0.6948 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.6423, allocations: 86.52 kB / 0.6949 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.6435, allocations: 159.5 kB / 0.695 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.6443, allocations: 444.4 kB / 0.6954 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.6443, allocations: 29 kB / 0.6955 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.6444, allocations: 44 kB / 0.6955 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6458, allocations: 1.038 MB / 0.6965 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6458, allocations: 11.88 kB / 0.6965 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.6459, allocations: 16 kB / 0.6965 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.6459, allocations: 12 kB / 0.6966 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.6468, allocations: 0.4956 MB / 0.697 GB, free: 9.496 MB / 0.5294 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.00303/0.6498, allocations: 2.11 MB / 0.6991 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.6505, allocations: 290.7 kB / 0.6994 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6508, allocations: 144.7 kB / 0.6995 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/0.6517, allocations: 410.2 kB / 0.6999 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.6517, allocations: 42.5 kB / 0.6999 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.6517, allocations: 0 / 0.6999 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001633/0.6533, allocations: 0.6149 MB / 0.7005 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/0.6534, allocations: 162.2 kB / 0.7007 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.6541, allocations: 0.5028 MB / 0.7012 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.6541, allocations: 33.7 kB / 0.7012 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.6544, allocations: 312.1 kB / 0.7015 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6545, allocations: 126.9 kB / 0.7016 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.6547, allocations: 118.1 kB / 0.7018 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6548, allocations: 362.8 kB / 0.7021 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.6551, allocations: 140.9 kB / 0.7022 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.6556, allocations: 425.1 kB / 0.7026 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.6563, allocations: 462.8 kB / 0.7031 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6563, allocations: 4 kB / 0.7031 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001034/0.6573, allocations: 0.564 MB / 0.7036 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6573, allocations: 19.81 kB / 0.7037 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6574, allocations: 4 kB / 0.7037 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.6589, allocations: 244.8 kB / 0.7039 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.6593, allocations: 111.9 kB / 0.704 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004974/0.6598, allocations: 0.5875 MB / 0.7046 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.6602, allocations: 59.55 kB / 0.7046 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.6603, allocations: 52.06 kB / 0.7047 GB, free: 1.281 MB / 0.5294 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.0002837/0.6606, allocations: 197.6 kB / 0.7049 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.6607, allocations: 63.72 kB / 0.7049 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.6622, allocations: 0.7301 MB / 0.7056 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6622, allocations: 4 kB / 0.7056 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6622, allocations: 0 / 0.7056 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6622, allocations: 7.875 kB / 0.7057 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.6636, allocations: 0.9175 MB / 0.7066 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6636, allocations: 8.797 kB / 0.7066 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.6638, allocations: 47.98 kB / 0.7066 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/0.6671, allocations: 444.3 kB / 0.707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.6671, allocations: 16 kB / 0.707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004692/0.6676, allocations: 0.5915 MB / 0.7076 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6676, allocations: 4.062 kB / 0.7076 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.6684, allocations: 0.4933 MB / 0.7081 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6685, allocations: 67.55 kB / 0.7082 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6686, allocations: 15.89 kB / 0.7082 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.669, allocations: 15.98 kB / 0.7082 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.6691, allocations: 35.83 kB / 0.7082 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.6691, allocations: 19.98 kB / 0.7083 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005462/0.6697, allocations: 422.8 kB / 0.7087 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6697, allocations: 4 kB / 0.7087 GB, free: 13.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001078/0.6707, allocations: 387 kB / 0.709 GB, free: 12.66 MB / 0.545 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.002229/0.673, allocations: 1.437 MB / 0.7104 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008413/0.6738, allocations: 356.8 kB / 0.7108 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6738, allocations: 4 kB / 0.7108 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.6741, allocations: 131.8 kB / 0.7109 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.676, allocations: 418.2 kB / 0.7113 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.6831, allocations: 5 MB / 0.7162 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.6833, allocations: 268 kB / 0.7164 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007732/0.6841, allocations: 217.2 kB / 0.7166 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.6845, allocations: 231.3 kB / 0.7169 GB, free: 4.316 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/0.6845, allocations: 0 / 0.7169 GB, free: 4.316 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/0.7449, allocations: 27.47 MB / 0.7437 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.05, allocations: 11.88 kB / 0.7437 GB, free: 8.805 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.491235263994895]