Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001799/0.001799, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00219/0.00219, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3194, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2026/0.522, allocations: 160 MB / 0.7168 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007791/0.5298, allocations: 4.607 MB / 0.7213 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.5308, allocations: 27.75 kB / 0.7214 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.5319, allocations: 333.8 kB / 0.7217 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.5376, allocations: 2.156 MB / 0.7238 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.54, allocations: 0.9496 MB / 0.7247 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.5423, allocations: 1.699 MB / 0.7264 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.5429, allocations: 378.5 kB / 0.7267 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.5446, allocations: 0.8915 MB / 0.7276 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.5454, allocations: 0.5176 MB / 0.7281 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.5455, allocations: 56 kB / 0.7282 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.5482, allocations: 1.326 MB / 0.7295 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.5484, allocations: 179.3 kB / 0.7296 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.5488, allocations: 318.7 kB / 0.7299 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.5513, allocations: 1.807 MB / 0.7317 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5513, allocations: 4 kB / 0.7317 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5513, allocations: 0 / 0.7317 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.5513, allocations: 0 / 0.7317 GB, free: 4.363 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.002112/0.5534, allocations: 1.084 MB / 0.7328 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5535, allocations: 8.031 kB / 0.7328 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.5536, allocations: 82.53 kB / 0.7329 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5548, allocations: 175.5 kB / 0.733 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.5557, allocations: 445.5 kB / 0.7334 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.5558, allocations: 36.94 kB / 0.7335 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.5558, allocations: 44 kB / 0.7335 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5573, allocations: 1.045 MB / 0.7345 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5573, allocations: 0 / 0.7345 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.5573, allocations: 23.98 kB / 0.7346 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5574, allocations: 12 kB / 0.7346 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.5583, allocations: 491.6 kB / 0.735 GB, free: 0.7305 MB / 0.5606 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.2512/0.8095, allocations: 2.08 MB / 0.7371 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.8103, allocations: 300.5 kB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.8106, allocations: 141.9 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.8109, allocations: 47.67 kB / 0.7375 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.8109, allocations: 43.25 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/0.8109, allocations: 3.844 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001763/0.8127, allocations: 0.6288 MB / 0.7382 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.8127, allocations: 170.3 kB / 0.7384 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.8133, allocations: 0.512 MB / 0.7389 GB, free: 174 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.8134, allocations: 32.86 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.8135, allocations: 302.7 kB / 0.7392 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.8136, allocations: 136 kB / 0.7393 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.8138, allocations: 120.4 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.8139, allocations: 365.3 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.8141, allocations: 140.6 kB / 0.7399 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.8144, allocations: 423.2 kB / 0.7403 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.815, allocations: 466.5 kB / 0.7408 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.815, allocations: 3.969 kB / 0.7408 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008517/0.8158, allocations: 0.5669 MB / 0.7413 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8158, allocations: 9.688 kB / 0.7413 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8159, allocations: 14.69 kB / 0.7413 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8173, allocations: 243.7 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.8177, allocations: 122.6 kB / 0.7417 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003169/0.818, allocations: 0.5789 MB / 0.7423 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.8184, allocations: 60.11 kB / 0.7423 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.8184, allocations: 53.44 kB / 0.7424 GB, free: 171.7 MB / 0.5606 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.000218/0.8187, allocations: 203.9 kB / 0.7426 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.8188, allocations: 60.91 kB / 0.7426 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.8203, allocations: 1.09 MB / 0.7437 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8203, allocations: 4 kB / 0.7437 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8203, allocations: 3.25 kB / 0.7437 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8203, allocations: 0 / 0.7437 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8214, allocations: 0.9059 MB / 0.7446 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8214, allocations: 4 kB / 0.7446 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.8215, allocations: 51.78 kB / 0.7446 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/0.8246, allocations: 441.7 kB / 0.7451 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.8247, allocations: 15.92 kB / 0.7451 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002555/0.8249, allocations: 0.5914 MB / 0.7456 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8249, allocations: 5.25 kB / 0.7456 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.8254, allocations: 0.4927 MB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.8255, allocations: 69.94 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.8256, allocations: 10.11 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.826, allocations: 15.98 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.826, allocations: 27.91 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.8261, allocations: 23.92 kB / 0.7463 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003746/0.8265, allocations: 434.3 kB / 0.7467 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8265, allocations: 0 / 0.7467 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000888/0.8273, allocations: 352.6 kB / 0.747 GB, free: 167.6 MB / 0.5606 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.001418/0.8288, allocations: 1.38 MB / 0.7484 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000642/0.8294, allocations: 362.8 kB / 0.7487 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8294, allocations: 0 / 0.7487 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.8296, allocations: 136.8 kB / 0.7488 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8313, allocations: 413.5 kB / 0.7492 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.8361, allocations: 5.011 MB / 0.7541 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.8362, allocations: 264 kB / 0.7544 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008857/0.8371, allocations: 0.5733 MB / 0.7549 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.8374, allocations: 235.3 kB / 0.7552 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.8374, allocations: 0 / 0.7552 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/0.8883, allocations: 27.24 MB / 0.7818 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.77, allocations: 3.859 kB / 0.7818 GB, free: 132.3 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.896251025988022]