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.001772/0.001772, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002153/0.002153, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.418/1.418, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2227/0.2227, allocations: 46.96 MB / 361.6 MB, free: 3.949 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.002277/0.002277, allocations: 83.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 66.08 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.1886/0.4953, allocations: 159.9 MB / 0.7176 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007327/0.5026, allocations: 4.603 MB / 0.7221 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.5032, allocations: 27.75 kB / 0.7221 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.5041, allocations: 329.8 kB / 0.7224 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.5095, allocations: 2.171 MB / 0.7245 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.5119, allocations: 0.9489 MB / 0.7254 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.5142, allocations: 1.695 MB / 0.7271 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.5147, allocations: 374.5 kB / 0.7275 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.5164, allocations: 0.8878 MB / 0.7283 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.5172, allocations: 0.5253 MB / 0.7288 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.5173, allocations: 52 kB / 0.7289 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.5203, allocations: 1.326 MB / 0.7302 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.5205, allocations: 179.3 kB / 0.7304 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.521, allocations: 322.7 kB / 0.7307 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.5242, allocations: 1.799 MB / 0.7324 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5242, allocations: 0 / 0.7324 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5242, allocations: 7.938 kB / 0.7324 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.5242, allocations: 3.938 kB / 0.7324 GB, free: 4.328 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.002598/0.5268, allocations: 1.084 MB / 0.7335 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5269, allocations: 12.03 kB / 0.7335 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.656e-05/0.5269, allocations: 9 kB / 0.7335 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.527, allocations: 90.52 kB / 0.7336 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.5283, allocations: 167.5 kB / 0.7338 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.5292, allocations: 437.5 kB / 0.7342 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.5292, allocations: 37 kB / 0.7342 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.5293, allocations: 47.94 kB / 0.7343 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5307, allocations: 1.042 MB / 0.7353 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5307, allocations: 4 kB / 0.7353 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.5308, allocations: 23.94 kB / 0.7353 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5308, allocations: 12 kB / 0.7353 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5319, allocations: 0.4918 MB / 0.7358 GB, free: 0.6719 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.239/0.7708, allocations: 2.077 MB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.7716, allocations: 297.2 kB / 0.7381 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.7719, allocations: 145.8 kB / 0.7382 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.7722, allocations: 55.23 kB / 0.7383 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7722, allocations: 38.61 kB / 0.7383 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.7722, allocations: 0.5938 kB / 0.7383 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001738/0.774, allocations: 0.6249 MB / 0.7389 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.774, allocations: 160.3 kB / 0.7391 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.7746, allocations: 0.507 MB / 0.7396 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.7747, allocations: 36.61 kB / 0.7396 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.7748, allocations: 302.8 kB / 0.7399 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.7749, allocations: 131.5 kB / 0.74 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.7751, allocations: 121.9 kB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.7752, allocations: 361.4 kB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.7754, allocations: 145.1 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.7758, allocations: 422.9 kB / 0.741 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.7763, allocations: 472.8 kB / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7763, allocations: 5.219 kB / 0.7415 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008409/0.7771, allocations: 0.5669 MB / 0.7421 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7772, allocations: 7.219 kB / 0.7421 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.7772, allocations: 9.844 kB / 0.7421 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.7787, allocations: 249.9 kB / 0.7423 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.7791, allocations: 116.8 kB / 0.7424 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003249/0.7794, allocations: 0.5792 MB / 0.743 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.7798, allocations: 66.8 kB / 0.743 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.7799, allocations: 56.27 kB / 0.7431 GB, free: 171.6 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.0002492/0.7801, allocations: 187 kB / 0.7433 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.7802, allocations: 67.25 kB / 0.7433 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.7817, allocations: 1.097 MB / 0.7444 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7817, allocations: 0 / 0.7444 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7817, allocations: 4 kB / 0.7444 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7817, allocations: 3.562 kB / 0.7444 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.7828, allocations: 0.9072 MB / 0.7453 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7828, allocations: 4 kB / 0.7453 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.783, allocations: 49.66 kB / 0.7454 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/0.7859, allocations: 439.6 kB / 0.7458 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.7859, allocations: 15.92 kB / 0.7458 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/0.7862, allocations: 0.5914 MB / 0.7464 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7862, allocations: 4.031 kB / 0.7464 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.7868, allocations: 0.5012 MB / 0.7469 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.7869, allocations: 60.11 kB / 0.7469 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.787, allocations: 14.39 kB / 0.7469 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.7873, allocations: 16 kB / 0.7469 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7874, allocations: 23.95 kB / 0.747 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.7874, allocations: 23.92 kB / 0.747 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003842/0.7878, allocations: 426.8 kB / 0.7474 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7878, allocations: 6.375 kB / 0.7474 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008643/0.7887, allocations: 354.6 kB / 0.7477 GB, free: 167.5 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.001489/0.7901, allocations: 1.379 MB / 0.7491 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006634/0.7908, allocations: 354 kB / 0.7494 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7908, allocations: 0 / 0.7494 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.7911, allocations: 143.8 kB / 0.7496 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7928, allocations: 416.9 kB / 0.75 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.7979, allocations: 5.009 MB / 0.7549 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.7981, allocations: 272 kB / 0.7551 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009554/0.7991, allocations: 0.5655 MB / 0.7557 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.7994, allocations: 243.3 kB / 0.7559 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.7994, allocations: 0 / 0.7559 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/0.8473, allocations: 26.68 MB / 0.782 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.55, allocations: 19.38 kB / 0.782 GB, free: 132.6 MB / 0.5606 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.85206277400721]